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

Flyway Documentation

Vault URL

Flyway Teams

Description

The REST API URL of your Vault server, including the API version. Currently only supports API version v1.

Example: http://localhost:8200/v1/

Usage

Commandline

./flyway -vaultUrl="http://localhost:8200/v1/" info

Configuration File

flyway.vault.url=http://localhost:8200/v1/

Environment Variable

FLYWAY_VAULT_URL=http://localhost:8200/v1/

API

Flyway.configure()
    .vaultUrl("http://localhost:8200/v1/")
    .load()

Gradle

flyway {
    vaultUrl = 'http://localhost:8200/v1/'
}

Maven

<configuration>
    <vaultUrl>http://localhost:8200/v1/</vaultUrl>
</configuration>