Environment Variable Resolver
Published 15 January 2025
For parameters in the environment namespace it is possible to inject variables into the TOML using the environment variable resolver.
This expects an entry of the form ${env.VARIABLE_NAME}
.
Note: Flyway parameters outside of the environment namespace have their own configuration - see the 'Environment Variable' section of the parameter of interest
Usage
Flyway Desktop
This can't be set in a config file via Flyway Desktop, although it will be honoured.
TOML Configuration File
[environments.mydevdb]
user = "${env.DATABASE_USERNAME}"