8.1.3 HashiCorp Vault Support
Micronaut integrates with HashiCorp Vault as a distributed configuration source.
To enable support for Vault Configuration, add the following configuration to your bootstrap.yml
file:
Integrating with HashiCorp Vault
micronaut:
application:
name: hello-world
config-client:
enabled: true
vault:
client:
config:
enabled: true
See the configuration reference for all configuration options.
Micronaut uses the configured micronaut.application.name
to lookup property sources for the application from Vault.
Directory | Description |
---|---|
| Configuration shared by all applications |
| Application-specific configuration |
| Configuration shared by all applications for an active environment name |
| Application-specific configuration for an active environment name |
See the Documentation for HashiCorp Vault for more information on how to setup the server.