Questions tagged [spring-vault]

Spring Vault provides familiar Spring abstractions and client-side support for accessing, storing and revoking secrets from HashiCorp Vault.

Spring Vault provides familiar Spring abstractions and client-side support for accessing, storing and revoking secrets. It offers both low-level and high-level abstractions for interacting with Vault, freeing the user from infrastructural concerns.

With HashiCorp’s Vault you have a central place to manage external secret data for applications across all environments. Vault can manage static and dynamic secrets such as application data, username/password for remote applications/resources and provide credentials for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS and more.

Features

  • Spring configuration support using Java based @Configuration classes.
  • VaultTemplate and ReactiveVaultTemplate helper classes that increase productivity performing common Vault operations.
  • Exporting Vault secrets as PropertySource through @VaultPropertySource.
  • Support multiple authentication methods.
  • Rotation of secrets for databases and messaging services.
  • Feature Rich Object Mapping integrated with Spring Data Repositories.
  • Annotation based mapping metadata but extensible to support other metadata formats.

Online Resources:

125 questions
0
votes
1 answer

Spring Cloud Config with Git/Vault backend - token passthrough

Instead of giving an AppRole or Static Token for Spring Cloud Config Server to access ALL secrets across ALL applications, is it possible to configure Spring Cloud Vault Config to utilize a given token on the request for the configuration? This…
0
votes
0 answers

Override properties in bootstrap.yml

I want to override property defined in bootstrap.yml right after it is loaded. eg: need to override/define spring.cloud.vault.secret-id based on some condition. How I can achieve same before spring-cloud-vault use secret-id property to connect to…
0
votes
1 answer

"Secret id missing" error while connecting to Vault using Spring cloud vault

I am trying to connect to spring vault using role based authentication (spring boot project). As per documentation, I should be able to connect to spring vault only using approle (pull mode). However, I am getting secrect-id missing exception on…
0
votes
1 answer

Use multiple ClientAuthentiation with spring-vault

We have an application using spring-vault. It authenticates to Vault using an AppRole. We use the token we get from that operation to read and write secrets. The configuration for the VaultEndpoint and AppRoleAuthentication are auto-configured from…
0
votes
2 answers

Spring Vault & Hibernate credentials

I have some database credentials stored in Vault. How can I take/use credentials for Hibernate before Hibernate init?
Alexiuscrow
  • 776
  • 2
  • 15
  • 34
1 2 3
8
9