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
1 answer

How to pass X-Config-Token with spring-cloud-starter-config

It works fine when I invoke the config server using curl -X GET http://localhost:8888/limits-service/dev -H "X-Config-Token: s.6S92v3OekCYEAWjp8unbt4ei" But from the client microservice, upon invoking the config service…
0
votes
1 answer

How to implement Hashicorp's Vault with Spring Boot

We have enabled spring profiling for Dev, QA, Prod instances and these are running on AWS EC2. We have different property files like: application-dev.propertiesapplication-qa.propertiesapplication-prod.properties And we have configured our…
0
votes
1 answer

Properties are not read from Vault on Integrating Vault with Spring Cloud Config Server

I am trying use Spring boot config server with git and vault and all my spring boot client application will retrieve the vault properties via the config server by passing the vault config token. I am using the spring boot 2.1.8.RELEASE and below is…
0
votes
2 answers

Spring Cloud Vault use local env variable when not in production for API Key

I am using Spring Cloud Vault to store an API Key in production. From reading the spring.io blog it appears I can use @Value("${apiKey}") String apiKey; to access that key in vault. This is fine when in production, but is there a way that I can…
0
votes
1 answer

spring boot jdbc config with vault backend

I am using spring boot and spring vault cloud : it works very well when i am loading a specific key in not code like : @Value("${login}") String login; The value is correctly read from the secrets i specified under my secret backend…
Guillaume
  • 107
  • 1
  • 10
0
votes
1 answer

How to connect to vault with github token?

Our Vault is configured to use github tokens. How can one use spring-cloud-vault and use github tokens? looked all over documentation and forums. Thanks in advance.
Carl
  • 1
  • 2
0
votes
1 answer

How to get vault version with java api?

What is the proper way to get Vault version with java api? If there's not an api call what is the rest call? There is no /status call. I am scanning spring-vault-core-1.1.2.RELEASE-sources.jar for keywords "status" and version".
0
votes
1 answer

spring cloud vault pull path wrong

I have this config for spring cloud vault. I am trying to pull a kv secret form location appcodes/AAAA/BBBB/CCCCC On starting application I see: RequestedSecret [path='appcodes/data/AAAA/BBBB/CCCCC', mode=RENEW]] Can anyone tell me why is data…
user10680549
0
votes
2 answers

Spring okta oauth2 properties using spring cloud vault

We are using okta for authentication in our Spring boot project. We have successfully done authentication using java application as (refer - https://developer.okta.com/blog/2017/03/21/spring-boot-oauth) Now what I am trying to do is move the okta…
0
votes
1 answer

Spring Cloud Vault is not working with custom mount

In local machine, I ran Vault server with default policy and wrote the following key value. vault write secret/my-application username=Test bootstrap.yml (Working) spring: application: name: my-application cloud: vault: …
0
votes
1 answer

Property placeholder resolution precedence when using vault and consul

I have question about placeholder resolution priority when using consul-config and vault-config I created simple app using this information My dependencies are: dependencies…
Joe
  • 3
  • 2
0
votes
1 answer

Vault APPROLE Authentication Spring Cloud

I was using vault to login via curl to get a new token so far. This works as expected: curl -k --request POST --data '{"role_id":"myrole","secret_id":"mysecret"}' https://:/vault/v1/auth/approle/login Now I'd like to do the…
Twin322
  • 170
  • 1
  • 8
0
votes
1 answer

How to retrieve db credentials using Spring Cloud Vault

We have a spring-boot 2 application that connects to db2 database via DAOs. The current application uses application.properties to store the credentials, like…
JamesD
  • 679
  • 10
  • 36
0
votes
1 answer

Spring Cloud Vault Configuration without YAML file

I have mentioned the Spring Cloud Vault Configuration in my bootstrap.ymlfile spring: cloud: vault: authentication: APPROLE app-role: role-id: ***** secret-id: **** host: **** port: 80 scheme:…
Arun
  • 3,440
  • 11
  • 60
  • 108
0
votes
1 answer

how to protect secret from application log in spring cloud vault?

we am trying to use vault to keep database credentials and using token in by spring boot application to fetch secrets. Credentials are kept at secret back-end at vault. Connection with application and vault is secure to TLS. This kind of secret…
Shashi
  • 23
  • 4
1 2 3
8
9