Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Environment variables configuration pattern #319

Open
1 of 3 tasks
aconic-sb opened this issue Jul 6, 2021 · 0 comments
Open
1 of 3 tasks

Environment variables configuration pattern #319

aconic-sb opened this issue Jul 6, 2021 · 0 comments

Comments

@aconic-sb
Copy link

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

  • 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants