databricks-auth-mechanism
--databricks-auth-mechanism
is a global parameter for the Liquibase Pro Databricks extension. It specifies the authentication mechanism for Liquibase to use with Databricks. Valid values are: OAUTH
. If no value is specified, Liquibase tries to connect using a username and password.
Specifying this parameter is required for OAuth authentication. It is available in the Liquibase Pro Databricks extension 1.0.0 and later. For more information, see Databricks: Authenticate access to Databricks resources.
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: Authenticate access to Databricks resources
- 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-oauth-auth-flow
--databricks-oauth-client-id
--databricks-oauth-client-secret