Databricks authentication
Note
This feature is available in Lite, Enterprise, Ultimate and Team editions only.
DBeaver is fully compatible with the Databricks OAuth and Personal Access Token (PAT) authentication methods, offering you secure ways to access your Databricks databases.
The following methods can be configured directly in the connection settings:
OAuth authentication¶
-
From the Authentication dropdown menu, select OAuth.
-
Depending on your use case, choose one of the following modes:
- Machine to Machine - for service-to-service authentication
- User to Machine - for interactive user login
-
Enter the required connection details.
- Click the Test Connection button to verify your settings. If configured correctly, DBeaver will establish a connection using the Databricks OAuth authentication method.
Machine to Machine¶
Use this method for automated service-to-service authentication. The access token is obtained programmatically using application credentials, so no manual user login is required at connection time.
You need to provide the HTTP Path of your Databricks SQL endpoint, Client ID and Client Secret for the application.
Info
For details, see OAuth machine-to-machine
User to Machine¶
Use this method when authentication must happen on behalf of a specific user.
You need to provide the HTTP Path of your Databricks SQL endpoint. No client credentials are required, the connection will open a browser window for login.
Info
For details, see OAuth user-to-machine
Personal Access Token¶
Use this method for direct authentication with a personal token generated in the Databricks workspace.
Follow these steps to configure Databricks Personal Access Token authentication:
-
From the Authentication dropdown menu, select Personal Access Token.
-
Enter the HTTP Path of your Databricks SQL endpoint.
-
Paste your Personal Access Token into the corresponding field. You can generate a token in the Databricks workspace under User Settings → Access tokens.
-
Click the Test Connection button to verify your settings. If configured correctly, DBeaver will establish a connection using the Databricks OAuth authentication method.
Info
For details, see Databricks - Personal access tokens
Other authentication methods¶
Besides OAuth and Personal Access Token, you can also use: