MattRoss34 / spring-cloud-config

NodeJS configuration management library based on Spring Cloud Config.
ISC License
26 stars 8 forks source link

Add support to Vault token #77

Open djosemartine opened 4 years ago

djosemartine commented 4 years ago

Spring cloud config server supports Vault as a backend.

It would be nice to be allowed to set the vault token as an option in the configurations, i.e, spring.cloud.config.token

In that way, the vault token could be provided by setting that option: spring.cloud.config.token: vault-token

It would useful if that value can be overridden by an environmental variable such as SPRING_CONFIG_AUTH_TOKEN