Want more control over your database deployments? – Find out how with Carlos Robles at Redgate Summit Register now

Flyway Documentation

Vault Token

Flyway Teams

Description

The Vault token required to access your secrets.

Usage

Commandline

./flyway -vaultToken="s.abcdefghijklmnopqrstuvwx" info

Configuration File

flyway.vault.token=s.abcdefghijklmnopqrstuvwx

Environment Variable

FLYWAY_VAULT_TOKEN=s.abcdefghijklmnopqrstuvwx

API

Flyway.configure()
    .vaultToken("s.abcdefghijklmnopqrstuvwx")
    .load()

Gradle

flyway {
    vaultToken = 's.abcdefghijklmnopqrstuvwx'
}

Maven

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