New! – Try automated migration testing Learn more

Flyway Documentation

Poll

Vault URL

Flyway Teams

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 -plugins.vault.url="http://localhost:8200/v1/" info

Configuration File

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

Environment Variable

FLYWAY_PLUGINS_VAULT_URL=http://localhost:8200/v1/

API

VaultConfigurationExtension vaultConfigurationExtension = PluginRegister.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>