databricks-oauth-auth-flow

--databricks-oauth-auth-flow is a global parameter for the Liquibase Pro Databricks extension. It specifies the OAuth2 authentication flow for the Databricks driver connection. Valid values are: 1.Default: 1.

Specifying this parameter is optional for OAuth authentication. (If you don't specify it using one of the methods listed on this page, and you set --databricks-auth-mechanism to OAUTH, Liquibase automatically sets Auth_Flow=1; in your connection URL.) It is available in the Liquibase Pro Databricks extension 1.0.0 and later.

Uses

You can connect Liquibase to your Databricks database using OAuth (Open Authorization). This parameter lets you specify some of your OAuth authentication details. For more guidance on authentication on Databricks, see Using Liquibase with Databricks SQL.

Syntax

You can set this parameter in the following ways:

Option Syntax
Liquibase properties file (defaults file)
liquibase.databricks.oauth.authFlow: <string>
Global flow file argument (example)
stages:
  Default:
    actions:
      - type: liquibase
        command: update
        globalArgs: { databricks-oauth-auth-flow: "<string>" }
Global CLI parameter
liquibase
 --databricks-oauth-auth-flow=<string> update
 --changelog-file=example-changelog.xml

JVM system property (JAVA_OPTS Environment Variable)

Unix:

JAVA_OPTS=-Dliquibase.databricks.oauth.authFlow=<string>

Windows:

JAVA_OPTS=-D"liquibase.databricks.oauth.authFlow"=<string>
Liquibase Environment Variables
LIQUIBASE_DATABRICKS_OAUTH_AUTH_FLOW=<string>

For more information, see Working with Command Parameters.

Related links