Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

This documentation site is not updated. The new documentation can now be found on documentation.red-gate.com

Poll

SQL Server Kerberos Login File

Flyway Teams

Description

The path to the SQL Server login module configuration file (e.g. SQLJDBCDriver.conf) for use in Kerberos authentication.

Usage

Commandline

./flyway -plugins.sqlserver.kerberos.login.file="/path/to/SQLJDBCDriver.conf" info

Configuration File

flyway.plugins.sqlserver.kerberos.login.file=/path/to/SQLJDBCDriver.conf

Environment Variable

FLYWAY_PLUGINS_SQL_SERVER_KERBEROS_LOGIN_FILE=/path/to/SQLJDBCDriver.conf

API

SQLServerConfigurationExtension sqlServerConfigurationExtension = configuration.getPluginRegister().getPlugin(SQLServerConfigurationExtension.class)
sqlServerConfigurationExtension.setKerberosLoginFile("/path/to/SQLJDBCDriver.conf");

Gradle

flyway {
    pluginConfiguration [
        sqlserverKerberosLoginFile: '/path/to/SQLJDBCDriver.conf'
    ]
}

Maven

<configuration>
    <pluginConfiguration>
        <sqlserverKerberosLoginFile>/path/to/SQLJDBCDriver.conf</sqlserverKerberosLoginFile>
    </pluginConfiguration>
</configuration>