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

How to externalize spring.cloud.vault.* properties to a spring cloud config server

I am using spring boot 2.7.8 I am following this https://docs.spring.io/spring-cloud-vault/docs/current/reference/html/#client-side-usage and https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_client_side_usage I have a spring…
0
votes
0 answers

How do I use vault database secrets engine with Spring cloud config server

I want my Spring Cloud Config Server to provide database credentials to all services. I'm getting confused between Vault Key-Value Secrets Engine and Vault Database Secrets Engine. With Key-Value Secrets, I'm able to retrieve configuration…
0
votes
0 answers

Request guidance in usage of spring-cloud-starter-vault-config library (which is having compile time dependency with vulnerable jackson-core)

As per microservices implementation using spring boot application and using maven we are using dependency for spring-cloud-starter-vault-config. I understand as per the current status spring-cloud-starter-vault-config is having a compile time…
Sajin
  • 1
0
votes
1 answer

Spring Cloud Vault support in Spring Cloud Data Flow 2.10.0

I am running Spring Cloud Dataflow on Kubernetes runtime. Currently, I am using K8 secrets to manage secrets for the dataflow server, and skipper server. Going forward I want to use Spring Cloud Vault as a secrets manager. Is there any support to…
0
votes
0 answers

spring cloud config server with multiple property sources

I have spring cloud config server reading properties from multiple sources (Git and Vault). For a given path, even it finds the resource in Git, it still queries vault and report failure as the resources are not available at both sources. My…
Sanjay
  • 165
  • 1
  • 13
0
votes
0 answers

Connection to KV Vault is only working through a WireMock

If I'm trying to connect to my Vault Engine, I get a Error 503 Service Unavailable. If I'm sending the call to a local WireMock which redirects the call with less headers to the same address, it works. Spring Cloud Version is 3.1.1 Cannot enhance…
0
votes
2 answers

SpringBoot 3 with Spring Cloud Vault 3.1.1 Runtime Error java.lang.NoClassDefFoundError: org/apache/hc/client5/http/classic/HttpClient

Application in Spring-boot 3 fails to start when spring.config.import: vault:// set. With the following error: 16:54:21.649 [restartedMain] ERROR org.springframework.boot.SpringApplication - Application run failed java.lang.NoClassDefFoundError:…
0
votes
1 answer

Can't connect Spring Cloud Vault to HCP Vault in Dev Mode Using Token Auth

What I have: HCP Vault in Development mode Simple Spring Client using Spring Cloud Vault CLI Client Desried Outcome: Inject data into a variable using HCP Vault What is working: Run Vault locally (in dev mode) and inject data into the…
0
votes
1 answer

Properties with same name are getting over written in spring vault 3.0.0

I have configs in HashiCorp vault with same names in different path.But when i try to access it, i am always end up with the config1 prop1 value is getting overridden by config2 prop1 Vault Path path/stage/config1 prop1 path/stage/config2 …
0
votes
2 answers

Vault UserPass authentication with Spring boot

I need to connect to Vault from my spring boot microservice. To get the vault token, the service needs to login to vault by providing username and password. Spring-vault integration doesn't support this behaviour by default. I came across this SO…
0
votes
0 answers

unable to load secrets from vault when spring.cloud.vault.config.lifecycle.enabled is set to false

I am using spring cloud starter vault config of version 2.2.5.RELEASE for connecting to my secured vault server which is working on approle authentication mechanism, i observed that if i setup value to false for property…
0
votes
1 answer

Secret Id and client token rotation in Hashicorp vault

I am using approle authentication type which takes in role-id and secret-id along with root token in the header to generate a client token which can further be used as an auth token in the header to create and retrieve secrets. This is what happens…
Geeky
  • 113
  • 9
0
votes
0 answers

How to add secrets in vault using java api?

I am using hashicorp's vault and trying to add secrets in that using java. I am able to add secrets in the vault but it always replaces the older secrets. public static void main(String[] args) throws VaultException { final Vault vault =…
Kampassi
  • 123
  • 7
0
votes
1 answer

Spring cloud config vault with azure authentication : failed to read config on AKS

I am trying to achieve the following: Able to use Azure user assigned managed identity(UAMI) to authenticate to vault(deployed on azure) from a spring boot application(deployed within AKS) Stack : openjdk 8 , spring boot 2.5.4 ,…
0
votes
1 answer

Connecting to multiple namespace with spring cloud vault

Spring cloud vault enables connecting to a namespace with property "spring.cloud.vault.namespace". I have an use-case to read secrets stored in different namespaces. Is this possible with sprint cloud vault? or there any other approaches? Thanks
Tilak
  • 323
  • 1
  • 5
  • 18
1 2 3
8 9