Closed voodemsanthosh closed 1 year ago
For some reason, your auth mechanism is configured to TOKEN
and not APPROLE
. Based on the provided details, there's no indication why this is.
I am using authentication is APPROLE
, but still it is making as TOKEN
. I am little suspecting with loading my vault properties. Due to properties are not able to load and it could defaulting to TOKEN
?
I have changed my bootstrap.yml
file to application.yml
, will that cause to load vault configurations ?
It can well be that your application config isn't loaded. But that is a concern to be solved in your application infrastructure and configuration location.
Same configuration(mentioned above) is working with spring boot 2.6.7 version, later update spring boot version 3.0.2 is not working. Do we need anything to address from spring boot latest version to load vault configs ?
Any further update or clue for investigating this issue
Until you've figured out, why your application.yml
isn't applied, there's nothing we can do here.
You could disable the vault bits and evaluate the spring.cloud.vault.authentication
property from Spring's Environment
to verify your configuration has been applied.
Closing this one as this ticket isn't actionable.
Trying to upgrade spring boot 2.6.7 to 3.0.2 and it is failing to load vault configuration with below exception
Spring boot 3.0.2 Spring cloud version 2022.0.0 Java version 17
Sample application.yml
Same configuration working with spring boot 2.6.7 version