Vault Token

Vault Token

Flyway Enterprise

Description

The Vault token required to access your secrets.

Usage

Commandline

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

TOML Configuration File

[flyway.vault]
token = "s.abcdefghijklmnopqrstuvwx"

Configuration File

flyway.vault.token=s.abcdefghijklmnopqrstuvwx

Environment Variable

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

Didn't find what you were looking for?