cyberark-conjur-cli icon indicating copy to clipboard operation
cyberark-conjur-cli copied to clipboard

Environment variables configuration pattern

Open aconic-sb opened this issue 3 years ago • 0 comments

Summary

Docker based version of Conjur CLI allows configuration using environment variables the same way a summon-conjur does (see https://github.com/cyberark/summon-conjur#configuration). This is not possible with this implementation.

Steps to Reproduce

Steps to reproduce the behavior:

  1. export CONJUR_ACCOUNT, CONJUR_APPLIANCE_URL, CONJUR_SSL_CERTIFICATE, CONJUR_AUTHN_LOGIN and CONJUR_AUTHN_API_KEY environment variables
  2. run conjur list
  3. It will ask you to initialize Conjur CLI even though you provided all the information

Expected Results

Run conjur command without any file configuration

Actual Results (including error logs, if applicable)

Requires you to run the conjur init first

Reproducible

  • [x] Always
  • [ ] Sometimes
  • [ ] Non-Reproducible

Version/Tag number

Works as expected in docker version cyberark/conjur-cli:5, does not work in the latest version of the Python implementation of Conjur CLI (v7.0.1)

Additional Information

I supposed this implementation should have kept the core functionality of the docker one that is why I am reporting it as a bug.

aconic-sb avatar Jul 06 '21 14:07 aconic-sb