touch ~/.lcrc
chmod 600 ~/.lcrc
We need chmod to be sure others can't access you secret keys. If file mode will be too permissive, lc-tools will not run.
Structure of the file is following:
[default]
driver = foogrid
access_id = your_key_id
secret_key = your_password
[barcloud]
driver = barcloud
access_id = somekey
secret_key = some_key
You probably noted that config file is separated by sections (default, barcloud in the example above). Each section corresponds to a single cloud account, it's possible to switch them and default section is used by default and should always be present.
All fields are necessary and cannot be omitted.
lc-drivers-list|cut -d "." -f3|sort|uniq
Please refer to your cloud prover for detailed documentation on getting account's credentials.