Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties vs. Environment Variables #17

Closed
jtarsha opened this issue Feb 7, 2018 · 2 comments
Closed

Properties vs. Environment Variables #17

jtarsha opened this issue Feb 7, 2018 · 2 comments

Comments

@jtarsha
Copy link

jtarsha commented Feb 7, 2018

ReadMe at [https://github.com/cyberark/conjur-api-java] says 4 environment variables are required, however Endpoints class is using System.getProperty on CONJUR_APPLIANCE_URL and CONJUR_ACCOUNT, which will not search environment variables and will return Null instead. Result is a malformed URI. Either the code should be changed to use System.getenv or the instructions should be modified.

@AndrewCopeland
Copy link
Contributor

This can be closed since it was resolved in #43.
now system properties and environment variables can be used for configuration.

@sgnn7
Copy link
Contributor

sgnn7 commented May 6, 2020

This is confirmed fixed in the current v2.2.0 release. Readme will be updated too with #70. Closing.

@sgnn7 sgnn7 closed this as completed May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants