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 Enterprise. This should be 516 alpha numeric characters, beginning with
FL.
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 Enterprise 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>