Flyway Kerberos Config File Setting
Published 15 January 2025
Description
The path to the your Kerberos configuration file (e.g. krb5.ini
) for use in Kerberos authentication.
If this is a relative path, it will be resolved relative to your working directory.
Note that Kerberos authentication is not currently supported for operations involving Redgate Comparison technology:
- commands such as
diff
,check
,prepare
,snapshot
- schema model and migration generation operations in Flyway Desktop
Note: This parameter does not apply to Native Connectors.
Type
String
Default
none
Usage
Command-line
./flyway -kerberosConfigFile="/path/to/krb5.ini" info
TOML Configuration File
[flyway]
kerberosConfigFile = "/path/to/krb5.ini"
Configuration File
flyway.kerberosConfigFile=/path/to/krb5.ini
Environment Variable
FLYWAY_KERBEROS_CONFIG_FILE=/path/to/krb5.ini
API
Flyway.configure()
.kerberosConfigFile("/path/to/krb5.ini")
.load()
Gradle
flyway {
kerberosConfigFile = '/path/to/krb5.ini'
}
Maven
<configuration>
<kerberosConfigFile>/path/to/krb5.ini</kerberosConfigFile>
</configuration>