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

This documentation is deprecated. The new documentation can now be found on documentation.red-gate.com

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 = configuration.getPluginRegister().getPlugin(VaultConfigurationExtension.class)
vaultConfigurationExtension.setVaultToken("s.abcdefghijklmnopqrstuvwx");

Gradle

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

Maven

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