Document How to Externalize Vault's Token w/ VaultPropertySoure
See original GitHub issueIt would be nice to document how to externalize Vault’s Token when using VaultPropertySource
. At the moment, there is a bit of a chicken and the egg problem when using standard Spring Environment.
One solution might be to instruct users to leverage system properties for this. We might also discuss how Spring Cloud (and in the future Spring Boot) have bootstrap.properties.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Spring Vault - Reference Documentation
With HashiCorp's Vault you have a central place to manage external secret data for applications across all environments.
Read more >Externalized Configuration with Spring Cloud Config and Vault
Externalized Configuration with Spring Cloud Config and Vault. Make your apps pull their configuration and credentials.
Read more >spring-vault/SecurePropertyUsage.java at main - GitHub
Provides familiar Spring abstractions for HashiCorp Vault ... TokenAuthentication; ... with Spring Vault's property source support. *. * @author Mark Paluch.
Read more >Spring Vault - Reference Documentation - xy2401.github.io
This document is the reference guide for Spring Vault. ... With. HashiCorp's Vault you have a central place to manage external secret data...
Read more >Externalize Vault token/backend configuration for SpringBoot ...
It's spring boot's configuration. You can use environment variables ( SPRING_CLOUD_CONFIG_TOKEN=xxx ) or java system properties ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you mentioned
I just wanted to point out that Spring Cloud Vault takes advantage of bootstrap to configure vault in the environment. That’s where this project evolved from.
AbstractVaultConfiguration
now providesEnvironment getEnvironment()
without relying on autowiring.Environment
is used fromApplicatioContext
provided byApplicationContextAware.setApplicationContext(…)
.