openphoto/openphoto-python — Issue #5: use a dotfile (optionally) vs forcing secrets to live in the environment
Author: k0s
Created: 2012-01-23 05:42:31+00:00
State: open

Currently the openphoto script gets the credentials from rather generically-named environment variables:

https://github.com/openphoto/openphoto-python/blob/master/README.markdown

If you're very often running this program, it is probably better to have these secrets live in a dotfile instead of having a two-step process to run the script (source a script then run openphoto). I would advise looking for a dotfile, e.g. $HOME/.openphoto, which contains the credentials and overriding from the environment if the environment variables exist