Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

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 = 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>