To enable support for Vault Configuration simply add the following configuration to your file:

    Integrating with HashiCorp Vault

    Micronaut will use the configured micronaut.application.name to lookup property sources for the application from Vault.

    Table 2. Configuration Resolution Precedence
    FolderDescription

    /application

    Configuration shared by all applications

    /[APPLICATION_NAME]

    Application specific configuration

    /application/[ENV_NAME]

    Configuration shared by all applications for an active environment name

    /[APPLICATION_NAME]/[ENV_NAME]

    Application specific configuration for an active environment name