Redgate Flyway

For PostgreSQL users - where are your DBs hosted?

Flyway Oracle Kerberos Cache File Setting

Flyway Teams

Description

The location of the krb5cc_<UID> credential cache file for use in Kerberos authentication. This is optional, and only has any significance when kerberosConfigFile is also specified. It may assist performance.

Type

String

Default

none

Usage

Flyway Desktop

This can't be set in a config file via Flyway Desktop, although it will be honoured, and it can be configured as an advanced parameter in operations on the Migrations page.

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

Command-line

./flyway -oracle.kerberosCacheFile="/temp/krb5cc_123" info

TOML Configuration File

[flyway.oracle]
kerberosCacheFile = "/temp/krb5cc_123"

Configuration File

flyway.oracle.kerberosCacheFile=/temp/krb5cc_123

Environment Variable

FLYWAY_ORACLE_KERBEROS_CACHE_FILE=/temp/krb5cc_123

API

OracleConfigurationExtension oracleConfigurationExtension = configuration.getPluginRegister().getPlugin(OracleConfigurationExtension.class);
oracleConfigurationExtension.setKerberosCacheFile("/temp/krb5cc_123");

Gradle

flyway {
    oracleKerberosCacheFile = '/temp/krb5cc_123'
}

Maven

<configuration>
    <oracleKerberosCacheFile>/temp/krb5cc_123</oracleKerberosCacheFile>
</configuration>

Didn't find what you were looking for?