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) |
|
Global flow file argument (example) |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS Environment Variable) |
Unix:
Windows:
|
Liquibase Environment Variables |
|
For more information, see Working with Command Parameters.
Related links
- Databricks: Databricks JDBC Driver (OSS) § OAuth machine-to-machine (M2M) authentication
- Databricks: Authentication settings for the Databricks JDBC Driver § OAuth machine-to-machine (M2M) authentication
- Databricks: Authentication settings for the Databricks ODBC Driver
--databricks-auth-mechanism
--databricks-oauth-client-id
--databricks-oauth-client-secret