Vault Token
Published 31 October 2023
Vault Token
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>