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
2
votes
3 answers

Spring Cloud Config and Spring Cloud Vault order of initialization

We are leveraging Spring Cloud Config and Spring Cloud Config Vault. We would like to know if there is a way to "bootstrap the bootstrap", ie we want spring cloud config server to be hit and then pull properties from that to leverage in our vault…
2
votes
1 answer

Storing Spring Cloud Vault token in Spring Cloud Config

I am running microservices with two configuration servers: Spring Cloud Config (with git backend) Spring Cloud Vault I store the Vault token in Spring Cloud Config server. When starting up the microservice, I expect it to: Retrieve configurations…
wltheng
  • 750
  • 1
  • 11
  • 26
2
votes
1 answer

Spring Cloud Config - Store info in vault (Username/pwd) along with rest of propeties in Git

We are right now storing passwords and other configuration related data in git and filesystem(local) based on profile. This is working fine based on profiles local/dev etc. using SPring cloud config approach. But to enhance security we have been…
1
vote
1 answer

How can I configure a Spring Cloud Config Server with Vault backend to authenticate using the Vault Sidecar Agent

I have an spring boot project config server which uses a vault backend. application.yml: spring: profiles: active: vault config: server: vault: kvVersion: 2 order: 1 If I start with this config, all the…
1
vote
1 answer

Spring Cloud Config Vault does not work with the default profile

I'm working on an implementation of config-server as per Manning's book Spring microservices in action 2e and I encountered a problem that the config server doesn't read properties from the default profile. My vault path is…
1
vote
0 answers

Spring Boot Application Fails to Authenticate with MongoDB After Vault Generates Dynamic Credentials from MongoDB

I'm using Spring Cloud Vault to communicate with HCP Vault. Part of the process, Vault asks from MongoDB to generate dynamic credentials for my service. The application starts successfully, but when I send request to the backend, it fails to…
1
vote
0 answers

Spring Cloud Vault Config Secretes Backend AWS SocketTimeoutException

I have a Spring Boot + Kotlin microservice that gets the AWS credentials to connect to DynamoDB from Vault. But randomly the Vault implementation is throwing a SocketTimeoutException while renewing the session token, see the stack…
1
vote
2 answers

Update MongoClient Credentials at runtime

I'm using spring-boot-starter-data-mongodb-reactive along with spring-cloud-vault-config-databases for dynamic secret rotations. Whenever the secret lease expires, I need to manually update the MongoClient credentials. Unfortunately I found no way…
1
vote
0 answers

How do I authenticate with HashiCorp Cloud vault using the AWS IAM auth method?

I've configured a HashiCorp Vault cluster in their cloud and done the necessary steps mentioned at - https://learn.hashicorp.com/tutorials/cloud/vault-auth-method-aws?in=vault/cloud-ops . I've created the required AWS roles , users & policies and am…
1
vote
0 answers

Amazon S3 Client connection

I need to use 2 different S3 clients with different buckets and credentials and I am using the same configuration class for both of them. I have a specific vault ("spring.cloud.vault") that helps me get my credentials (API keys and instance ID)…
1
vote
1 answer

Unable to write policy file in vault test container

I'm trying to associate a policy file in my vault test container. But It is giving me an error. Below is the command I'm running. Container.ExecResult result = vaultContainer.execInContainer("vault", "policy", "write", "admin", "- <
Geeky
  • 113
  • 9
1
vote
1 answer

Config server with Vault backend - fetch secrets from multiple paths

We are using config server with Vault backend to fetch application secrets. Config server project is using spring-vault-core dependency and spring-vault-dependencies dependency management for Vault. Vault related config in application yml file is as…
1
vote
1 answer

Adding keys to Spring Boot vault

I am implementing Spring Boot vault. Whenever I try to add more than one key, only the last one is saved. For example, at this page, https://www.javainuse.com/spring/cloud-vault, they have this example But when I then query the vault, I…
1
vote
1 answer

What is the release date for Spring cloud version 2021.0.x?

We are waiting for the latest release of Spring cloud for a bugfix. What is the date for its release?
1
vote
0 answers

actuator/refresh path not updating @value variables when use spring cloud vault

When I update a property in the vault and call actuator / refresh, it still shows an older value. I use spring boot and spring…
1 2
3
8 9