spring-cloud / spring-cloud-vault

Configuration Integration with HashiCorp Vault
http://cloud.spring.io/spring-cloud-vault/
Apache License 2.0
270 stars 151 forks source link

Documentation Error: Bootstrap is Not "Deprecated" #662

Closed raphaelpreston closed 1 year ago

raphaelpreston commented 1 year ago

Through the issue I opened here in spring-cloud-config and my post here on Stackoverflow (with the generous assistance of @spencergibb), it's come to my attention that the documentation here erroneously states that the bootstrap context has been deprecated.

With Spring Cloud Vault 3.0 and Spring Boot 2.4, the bootstrap context initialization (bootstrap.yml, bootstrap.properties) of property sources was deprecated.

cc: @ryanjbaxter

mp911de commented 1 year ago

Actually, VaultBootstrapConfiguration is deprecated. While the bootstrap context itself is not deprecated, using Spring Cloud Vault through the bootstrap mechanism is quite limited in functionality and ordering of property sources.

mp911de commented 1 year ago

We refined the wording in our documentation,