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

Spring config import + config server #690

Open HelenLorenzo opened 1 year ago

HelenLorenzo commented 1 year ago

Describe the bug When I take config from import configserver + vault, is not possible take the spring clouf vault configuration from the imported config server.

Sample I have this configuration: spring: application: name: app profiles: active:

(Mandatory put spring.cloud.vault --> I dont know why) spring.cloud: vault: host: vault-active-internal-sanes-seg-vault-pre.apps.ocp01.san.pre.weu1.azure.paas.cloudcenter.corp port: 80 scheme: https uri: https://vault-active-internal-sanes-seg-vault-pre.apps.ocp01.san.pre.weu1.azure.paas.cloudcenter.corp

 connection-timeout: 5000
 read-timeout: 15000   
 token: s.qUphJr9wlcs1oGxReFlKQyqY    

If, I have a different configuration in my configserver.yml from vault, this configuration is not taking into account