Redgate Flyway

Flyway Offline Permit Path Setting

Redgate Flyway Community

Description

This specifies the path to the Flyway offline license permit used to authenticate Enterprise features. Please see the License permit page for more information on how to obtain one.

  • Offline license permits are used where your Flyway installation cannot connect to the internet to refresh it's license.
  • When your license expires you will need to create a fresh offline license permit and replace the old one in this location in order to continue using licensed features, otherwise Flyway will revert to the Community feature set (only foundational capabilities).
  • This parameter is defined as a path to a file containing the permit. This is because permits are often too large to fit in the command line. To supply the permit value directly instead, use offlinePermit.
  • Only one of offlinePermitPath or offlinePermit can be configured. Flyway will fail with an error if both are set.

Type

String

Default

none

Usage

Flyway Desktop

Not needed in conjunction with Flyway Desktop as Flyway Desktop will handle licensing.

Command-line

./flyway -offlinePermitPath="path_to_offline_permit"

TOML

[flyway]
offlinePermitPath = "path_to_offline_permit"

Environment Variable

FLYWAY_OFFLINE_PERMIT_PATH=path_to_offline_permit

Maven

<configuration>
  <pluginConfiguration>
    <offlinePermitPath>path_to_offline_permit</offlinePermitPath>
  </pluginConfiguration>
</configuration>

API

Flyway flyway = Flyway.configure().load();
flyway.getConfigurationExtension(OfflinePermitConfigurationExtension.class)
        .setOfflinePermitPath("path_to_offline_permit");

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?