New! – Try automated migration testing Learn more

Flyway Documentation

Poll

Vault Token

Flyway Teams

Description

The Vault token required to access your secrets.

Usage

Commandline

./flyway -plugins.vault.token="s.abcdefghijklmnopqrstuvwx" info

Configuration File

flyway.plugins.vault.token=s.abcdefghijklmnopqrstuvwx

Environment Variable

FLYWAY_PLUGINS_VAULT_TOKEN=s.abcdefghijklmnopqrstuvwx

API

VaultConfigurationExtension vaultConfigurationExtension = PluginRegister.getPlugin(VaultConfigurationExtension.class)
vaultConfigurationExtension.setVaultToken("s.abcdefghijklmnopqrstuvwx");

Gradle

flyway {
    pluginConfiguration [
      vaultToken: 's.abcdefghijklmnopqrstuvwx'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <vaultToken>s.abcdefghijklmnopqrstuvwx</vaultToken>
    </pluginConfiguration>
</configuration>