My spring cloud config client has multiple spring.application.name to get differents property files with GIT but Vault is not working like GIT.
application.properties of my server :
spring.config.name=configserver
server.port=8188
spring.profiles.active=git,vault
spring.cloud.config.server.git.uri=https://.../config.git
spring.cloud.config.server.git.username=config
spring.cloud.config.server.git.password=*************
spring.cloud.config.server.git.clone-on-start=true
management.endpoints.web.exposure.include=*
spring.cloud.config.server.vault.port=8200
spring.cloud.config.server.vault.host=120.0.0.1
spring.cloud.config.server.vault.profileSeparator=/
bootstrap.properties of my client :
spring.application.name=application1,application2
spring.profiles.active=next
spring.cloud.config.uri=http://localhost:8188
spring.cloud.config.token=********
With this configuration, I am able to load with GIT my 2 property files application1-next.yml and application2-next.yml.
Sadly Vault is not working like I was expected : load values from the 2 paths
application1/next/
application2/next
It is looking for keys in the single path
application1,application2/next
Does anyone have a solution about this ? or maybe I miss something...
My spring cloud config client has multiple spring.application.name to get differents property files with GIT but Vault is not working like GIT.
application.properties of my server :
bootstrap.properties of my client :
With this configuration, I am able to load with GIT my 2 property files application1-next.yml and application2-next.yml.
Sadly Vault is not working like I was expected : load values from the 2 paths
It is looking for keys in the single path
Does anyone have a solution about this ? or maybe I miss something...