spring-cloud / spring-cloud-vault

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

Consul Secret Backend is not discovered with config data api #579

Closed krisiye closed 3 years ago

krisiye commented 3 years ago

Describe the bug When using spring.config.import: vault: the consul backend is not discovered when enabled with spring.cloud.vault.consul.enabled: true. As a result the spring.cloud.consul.config.acl-token and spring.cloud.consul.discovery.acl-token are never picked up.

Note: This works fine with legacy bootstrap processing.

Spring Boot: 2.4.3 spring-cloud-vault-config-consul: 3.0.1

Sample NA