New! – Try automated migration testing Learn more

Flyway Documentation

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 = PluginRegister.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>