137 questions
0
votes
0
answers
52
views
Is it possible to disable token refresh when using Spring config server with Vault with AppRole authentication
Is there a way to disable the automatic token renewal/refresh mechanism?
-1
votes
1
answer
195
views
Mocking Spring-Vault VaultResponse in Spring boot application always returns null object
I have implemented Spring Security in my Spring boot application and I am retrieving user credentials from Hashicorp vault . I am able to connect to HashiCorp vault using Spring Vault's vault template ...
2
votes
1
answer
588
views
Unable to read Hashicorp Vault Secrets using Spring Boot
I'm using Spring Boot 3.4.3, Java 21 and Windows 11 Pro. I'm trying to read secrets from Hashicorp Vault. I followed various tutorials such as this one but reading credentials has never worked ...
1
vote
0
answers
184
views
System environment variable overriding secret from vault
I have secret “username” coming from vault and environment variable username is also set in local machine ,now env variable value is getting injected rather than value of secret from vault .How to ...
2
votes
1
answer
216
views
Kubernetes Authentication no re-create token
I can't configure spring.cloud.vault to re-authenticate the application when the token expire.
I use Kubernetes Authentication with service token, bun in the SessionManager class I find the batch ...
0
votes
1
answer
352
views
Use multiple vault server or use different vault token for different credetials
We have one spring boot application in which we are having multiple client database in application.properties file. We are now trying to use vault server and we have a requirement to keep database ...
0
votes
0
answers
88
views
How to Embed Spring Config Server and Client in the same application?
I am trying to embed the spring config server and client in the same application. According to the spring documentation, I created a composite profile. I am getting the below error when I run the ...
1
vote
0
answers
213
views
Connect to Hashicorp Vault in Spring Boot API via PCF Config server
I'm working on moving the authentication credentials from my application config to HashiCorp vault. I was able to connect to vault with Vault configs in the application.yml or bootstrap.yml. But when ...
0
votes
1
answer
1k
views
What's the safest way to get the Vault Token for local development with Spring Boot / Spring Cloud Vault
When running Spring Boot locally, I'm using the default TOKEN based authentication with the spring-cloud-starter-vault-config dependency.
Running vault login -method oidc saves a fresh vault token to ~...
0
votes
0
answers
549
views
Accessing Hashicorp Vault secrets within namespaces from Spring boot 3.2.X
I am trying to access Hashicorp Vault secrets from Spring boot application and getting 403 forbidden error. : org.springframework.vault.VaultException: Status 403 Forbidden [secret/secret]: permission ...
1
vote
0
answers
107
views
Unable to read vault properties
I have configured my spring application to use vault with authentication based on approle. I have disabled bootstrapping. Handling approle based authentication programmatically.
Following are the ...
1
vote
0
answers
486
views
After upgrading spring-cloud-starter-vault-config to 4.1.0 from 3.1.0 and upgrading spring boot to latest version authentication is failing for vault
These are my vault configuration
spring.cloud.vault.enabled=true
spring.cloud.vault.uri: pointing to valut server
spring.cloud.vault.connection-timeout: 5000
spring.cloud.vault.read-timeout: 15000
...
0
votes
1
answer
1k
views
Can not read configurations from vault in spring boot application
I am trying to read two simple values from vault in spring boot app. no success and I do not know why. here is my code:
pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<...
-1
votes
1
answer
276
views
Customise ObjectMapper to serialise LocalDateTime properly
I am using Spring Vault in my project and trying to store a serialised representation of LocalDateTime (ISO date time format) as a secret data in Vault. However, the ObjectMapper used inside Spring ...
0
votes
1
answer
698
views
Create a wrapped Token to access Hashicorp Vault | Spring Boot
I want to create a wrapped token programmatically from my Spring Boot application in order to read/write key-value pairs to/from Hashicorp vault. I have gone through the documentation.
Currently I am ...