When we have
spring-cloud-config-server, spring-cloud-starter-vault-config and starter-actuator on the classpath we get the issue that the bean vaultTemplate is defined in SpringVaultClientConfiguration and in VaultAutoConfiguration. The application will not start unless we provide bean overriding.
It's enough to rename one of those beans to fix this.
When we have
spring-cloud-config-server,spring-cloud-starter-vault-configandstarter-actuatoron the classpath we get the issue that the beanvaultTemplateis defined inSpringVaultClientConfigurationand inVaultAutoConfiguration. The application will not start unless we provide bean overriding.It's enough to rename one of those beans to fix this.