Depending on the versions of Spring Cloud Vault and Spring Boot the configuration of vault properties differs.
With Spring Cloud Vault 3.0 and Spring Boot 2.4, the bootstrap context initialization (
bootstrap.properties) of property sources was deprecated.
You can refer https://docs.spring.io/spring-cloud-vault/docs/current/reference/html/#new-in-3.0.0 for new enhancements in latest version.
First we will…