cyberark / conjur-spring-boot-sdk

Apache License 2.0
5 stars 7 forks source link

Error in logs: Please provide Conjur Authn Token file or else api Key in environment Variable #61

Closed bnasslahsen closed 2 years ago

bnasslahsen commented 2 years ago

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

Pasted Graphic

Reproducible

Version/Tag number

Environment setup

Additional Information

asaraogi commented 2 years ago

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