Questions tagged [spring-cloud-vault-config]

Spring Cloud Vault Config provides client-side support for HashiCorp's Vault secret management in a distributed system.

Spring Cloud Vault Config provides client-side support for HashiCorp's Vault secret management in a distributed system.

https://cloud.spring.io/spring-cloud-vault/

128 questions
3
votes
1 answer

Trying to get Spring/Consul/Vault to work together

I'm trying to do something I think is simple. I want to use Consul for configuration, and Vault for secrets. What I'm looking for is a simple app like this that allows me to get config and services from Consul, and secrets from Vault. In my…
DJ Spiess
  • 983
  • 2
  • 9
  • 26
2
votes
0 answers

How to implement Spring Cloud Vault with multiple paths using different roles?

I already have Spring Cloud Vault set up to read from multiple paths that have a common role but now I have a requirement to read from multiple paths that may have differing roles. My existing boostrap.yml file looks like spring: cloud: …
2
votes
0 answers

spring-cloud-vault-config-databases with Spring Boot 2.4.0 Config Data API fails to bind properties

I'm using spring-cloud-vault-config-databases with Spring Boot 2.4.0 Config Data API as the prefered mode described here bootstrap.yml configuration not processed anymore with Spring Cloud 2020.0 : When I'm using Spring Boot 2.4.0 Config Data API…
2
votes
1 answer

Spring cloud vault not reloading/reflecting updates to secret value

Spring cloud vault picks up the latest secret value during application start. If the secret is updated when the application is already up and running, then it is not picked up. I understand this is a Spring config limitation and there is a…
Tilak
  • 323
  • 1
  • 5
  • 18
2
votes
2 answers

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.vault.support.SslConfiguration

I am developing code Spring Boot Microservices Project - Part 1 - Spring Boot Config Server & Eureka Service Discovery from - https://www.youtube.com/watch?v=Fq85GschdLw and getting the below error. *************************** APPLICATION FAILED TO…
PAA
  • 1
  • 46
  • 174
  • 282
2
votes
0 answers

Getting Error "Cannot login using Kubernetes: invalid role name "abc-reader-xyz-cluster"; nested exception"

I have cluster "ABC". Now I moved the Application to "XYZ" Cluster. And I changed all configuration file with Clsuter "XYZ". Now when I trying to deploy application then getting below error: o.s.v.c.l.SecretLeaseEventPublisher$LoggingErrorListener -…
2
votes
2 answers

How to read liquibase.properties dynamically from password hashicorp vault

In my Spring Boot project, I am trying to setup liquibase and use it between dev, test and production databases. Everything seems to be working fine, except passing credentials to liquibase.properties file from HashiCorp Vault. I am able to access…
2
votes
1 answer

storage migration check error: error="pq: permission denied for table vault_kv_store"

Here is my vault.config file. ui = true backend "postgresql" { connection_url = "postgres://user:pwd@192.168.1.1:5432/vault?sslmode=disable" } listener "tcp" { address = "0.0.0.0:8200" tls_disable = 1 } disable_mlock = true I have also…
2
votes
1 answer

Spring Vault VaultTemplate.read() returns null

I have a Vault server running: $ vault server --dev --dev-root-token-id="00000000-0000-0000-0000-000000000000" $ export VAULT_ADDR=http://127.0.0.1:8200 The Spring artifact has the spring-cloud-starter-vault-config maven dependency. When using…
EMC
  • 95
  • 3
  • 11
2
votes
0 answers

Spring cloud Config Vault doesn't recognize comma separated application names

I'm setting a spring boot application that obtains its properties from a spring cloud config server application pointing to a Git config repository and to a Vault server. Spring cloud config server…
2
votes
0 answers

Setting up Spring Cloud Config Server with Git & Vault back-end for clients that don't send X-Config-Token header

I understand the setup for Spring Cloud Config Server with both Git & Vault backends. That is straightforward and works fine. In our organization our Spring Cloud Config Server has clients that do not have anything stored in Vault. It seems though…
Eric
  • 362
  • 1
  • 4
  • 15
2
votes
1 answer

Spring Cloud Vault. Issue with VaultPropertySource in environments without Vault

I have a configuration class with VaultPropertySource annotation similar to the following that works great in environments that have access to Vault. @Configuration @VaultPropertySource("secret/my-application") public class AppConfig { …
chutcher
  • 586
  • 6
  • 11
2
votes
1 answer

What policy required to renew database lease?

I run a local vault dev server (v0.10.1) and use Approle as auth method. I create a renewable MongoDB secret engine, and then assign a policy to created Approle which grants all capabilities to path secret/bootstrap, secret/application,…
Tonny Tc
  • 852
  • 1
  • 12
  • 37
2
votes
2 answers

Accessing Docker Vault secrets using Spring Cloud Starter Vault Config Could Not Resolve

I am running a Docker Vault container in dev mode, and I can't read a secret located at /secret/mobsters/ called password. Here are Spring logs. Running vault kv get secret/mobsters returns the password key value pair. I can also access the vault…
2
votes
1 answer

Fallback to local config if Spring Vault config is disabled

For the development environment, I have configured bootstrap.properties to disable vault configuration. spring.cloud.vault.enabled=false If it is disabled then the application should read the properties from local config application.properties…
sidgate
  • 14,650
  • 11
  • 68
  • 119
1
2
3
8 9