If the variable CONJUR_AUTHN_API_KEY is present. The error should not be logged.
Actual Results
2022-07-17 12:51:42.395 ERROR 95003 --- [ main] c.c.c.s.core.env.ConjurPropertySource : Please provide Conjur Authn Token file or else api Key in environment Variable
Reproducible
[x] Always
Version/Tag number
conjur-sdk-springboot version 1.0.1
Environment setup
Running on macOS 12.4 / IntelliJ 2022.1.2
Java version: 11.0.15
spring-boot 2.7.1
conjur enterprise 12.6
Additional Information
Some documentation issues and dead links in the main plugin page, that need to be fixed, but maybe GITHUB is not the right place. Feel free to share the right channel to discuss about it.
Resolved this issue and created PR for the same which is mentioned below.
Fixed patch of Spring boot app starts at 8181 port and error log for api key and authtoken #68
Summary
After following all the configuration steps error are logged, but is does not seem correct.
Steps to Reproduce
Follow the steps to Set up the Spring Boot Plugin with Conjur and see the logs of the application during startup
Expected Results
If the variable CONJUR_AUTHN_API_KEY is present. The error should not be logged.
Actual Results
2022-07-17 12:51:42.395 ERROR 95003 --- [ main] c.c.c.s.core.env.ConjurPropertySource : Please provide Conjur Authn Token file or else api Key in environment Variable
Reproducible
Version/Tag number
1.0.1
Environment setup
Additional Information