Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Vault Token Setting

Flyway Enterprise

Description

The Vault token required to access your secrets.

Type

String

Default

none

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

Command-line

./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?