Vault URL

Vault URL

Flyway Enterprise

Description

The REST API URL of your Vault server, including the API version. Currently only supports API version v1.

Example: http://localhost:8200/v1/

Usage

Commandline

./flyway -vault.url="http://localhost:8200/v1/" info

TOML Configuration File

[flyway.vault]
url = "http://localhost:8200/v1/"

Configuration File

flyway.vault.url=http://localhost:8200/v1/

Environment Variable

FLYWAY_VAULT_URL=http://localhost:8200/v1/

API

VaultConfigurationExtension vaultConfigurationExtension = configuration.getPluginRegister().getPlugin(VaultConfigurationExtension.class)
vaultConfigurationExtension.setVaultUrl("http://localhost:8200/v1/");

Gradle

flyway {
    pluginConfiguration = [
      vaultUrl: 'http://localhost:8200/v1/'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <vaultUrl>http://localhost:8200/v1/</vaultUrl>
    </pluginConfiguration>
</configuration>

Didn't find what you were looking for?