Flyway License Key Setting
Published 15 January 2025
This parameter is deprecated and will be removed in a future release.
For an overview of ways to license Flyway see Flyway Licensing
Description
Your Flyway license key (FL01...
) when using Flyway Teams. This should be 516 alpha numeric characters, beginning with
FL
.
Not yet a Flyway Teams Edition customer? Request your Flyway trial license to try out Flyway Teams Edition features free for 28 days.
Type
String
Default
none
Usage
Flyway Desktop
This is not supported by Flyway Desktop.
Command line & Docker
There is a single Flyway command line download for all editions. Therefore, you only need to provide your license key in your configuration, and Flyway Teams will start automatically. This also works for the Flyway Docker image.
Maven Plugin
See Maven Goal
Gradle Plugin
See Gradle Task
Java API
See API (Java)
Configuration Reference
Command-line
./flyway -licenseKey="FL01..." info
TOML Configuration File
[flyway]
licenseKey = "FL01..."
Configuration File
flyway.licenseKey=FL01...
Environment Variable
FLYWAY_LICENSE_KEY=FL01...
API
Flyway flyway = Flyway.configure().load();
flyway.getConfigurationExtension(LicensingConfigurationExtension.class)
.setLicenseKey("FL01...");
Gradle
flyway {
pluginConfiguration = [
licenseKey: 'FL01...'
]
}
Maven
<configuration>
<pluginConfiguration>
<licenseKey>FL01...</licenseKey>
</pluginConfiguration>
</configuration>