Environment Variables Python CLI

Hey,

Are there (any plans to have) environment variables supported for your Python conjur-cli CLI tool ?

For example environment variables shown here;

And here:
https://www.conjur.org/get-started/tutorials/ruby-api/

Note Authentication credentials can also be provided via environment variables. Use CONJUR_AUTHN_LOGIN for the login name, and
CONJUR_AUTHN_API_KEY for the API key.

https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/10.10/en/Content/References/providers/conjur.htm?TocPath=Fundamentals|Secretless%20Pattern|Secret%20Providers|_____1

@izgerij can you comment on this?

Hey Jim,
I’m the author of that repo. Python3 CLI doesn’t support any env vars for setting things up since most things can be done over the CLI arguments and .conjurrc / .netrc and we’re working on a profile manager but if that’s something you would like to see, it might be good to open an issue in the cyberark/conjur-api-python3 GitHub repo and we can then allocate some time to get that implemented.

2 Likes