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
0
votes
0 answers

Spring Cloud Vault

I have a Spring Boot application with spring-cloud-starter-vault-config dependency, so all my secrets are externalized. My application uses AWS IAM authentication with preconfigured role: cloud: vault: enabled: true fail-fast: true …
0
votes
1 answer

Change DataStax java driver User and Password in runtime

I am running a Java app with DataStax Java driver version 3.3.0 and I am trying to change Cassandra user and password at runtime. According to this issue by calling setUser and setPassword in this object it should reuse it for future calls to the…
jesantana
  • 1,241
  • 2
  • 14
  • 27
0
votes
2 answers

I am using hashicorp vault with springboot maven to store my databse credentials. Getting 403 Permission denied while trying to access the vault

Note : Vault is managed by different team in my project. Below is my boorstrap.yml config spring: application: name: MongoSecrets profiles: active: dev cloud: vault: enabled: true uri: https://vaulturl:443 scheme:…
0
votes
1 answer

Spring config server renew vault token auth

I am using spring config server with 2 backends : git and vault (for secrets), and i have a clients apps that connect to the config server to get distant configuration (git and vault). I have this configuration: config server server: port:…
0
votes
1 answer

Spring Config Server : get secrets from vault with specific path

I am trying to get my microservices configuration from a config server connected to 2 sources : git and vault (for secrets). I have the config bellow: in the config-server: server: port: 8888 spring: profiles: active: git, vault cloud: …
0
votes
1 answer

Spring vault does not use the new token after login

I am trying to read secrets from vault using Spring vault cloud. I use a service token type. In my set-up the max_ttl is set to 1h and ttl to 10 minutes, so the token will be renewed at every 10 minutes till the max_ttl is reached. Once the max_ttl…
0
votes
0 answers

Vault throwing 403 using AppRole authentication in k8s

I have a spring boot application that authenticates with vault using approle+bound_cidr_list setup. Authentication is working fine when testing with docker-compose but the same is failing with Kubernetes with a 403 error. 2020-07-20 16:38:33.699 …
0
votes
3 answers

How can I use SpringBoot to pick up DB credentials from Vault?

I have a springboot app that uses these versions: SpringBoot: 2.3.1 SpringCloud: Hoxton.SR5 SpringData: Neumann-SR1 I've used the custom class as described here (answer from @Arun): Configuring Spring Cloud Vault Config to pull from a location…
0
votes
2 answers

ClassNotFoundException for EmbeddedWebApplicationContext when Spring cloud valut is used

I've upgraded a Spring Boot application from 1.5.2.RELEASE to 2.3.0.RELEASE (huge bump, I know). My main issue is, the Spring Cloud version I've used is Hoxton.SR5 which brings in version 2.2.3.RELEASE for the spring-cloud-vault-config and…
Sammy65
  • 627
  • 2
  • 12
  • 28
0
votes
1 answer

Data Jpa Test fails to load properties

I am using Hashi Corp vault in Spring Boot project. I am able to run the project without any issue. But when I run unit tests, secret-id and role-id are not being passed. I tried the following but got an exception saying both are empty. Tried hard…
0
votes
1 answer

Spring Cloud Vault picking up properties from wrong profile

In my Spring Boot project I defined 4 profiles ide,dev,test and prod. When I ran the project using IntelliJ with profile ide, everything works fine and properties are retrieved from ide profile in the Vault. But during deployment in dev server when…
0
votes
1 answer

Spring Cloud Vault Profile Specific Bootstrap

I have a Spring Boot Application and I would like to Load configurations from Vault based on the Profile I am running. At present i have 2 profiles (dev, prod). My Dev Profile uses a H2 database where as the Prod Profile uses a Posgres DB. Running…
0
votes
1 answer

Spring Cloud Vault error: nested exception is javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in certificate_request

I am trying to use HashiCorp Vault using Spring Cloud Vault on Spring Boot project. I configured my bootstrap.yml file to use app role and secret id to get passwords bootstrap.yml spring: application: name: pres cloud: vault: …
0
votes
1 answer

Token authentication not working when Hashicorp vault is sealed

I'm working on a sample application where I want to connect to the Hashicorp vault to get the DB credentials. Below is the bootstrap.yml of my application. spring: application: name: phonebook cloud: config: uri:…
0
votes
2 answers

${VAULT_SCHEME} not working in bootstrap.properties

I have configured spring boot application to take properties from my environment but strangely I am facing an error while starting my application. I have added the properties in my ~/.bash_profile and also did source ~/.bash_profile after adding…
1 2 3
8 9