OAuth 2.0 with Databricks Access Control gives you that precision. It defines who can connect, what they can read, and what they can change—without hardcoding secrets or passing plaintext credentials. When configured correctly, it locks down your Databricks workspace while keeping workflows smooth for approved clients and services.
Databricks supports OAuth 2.0 to integrate with identity providers (IdPs) like Azure AD, Okta, or any provider that supports the standard. The core flow is simple:
- A client requests authorization.
- The IdP authenticates the user or service and returns an access token.
- That token is passed to Databricks APIs or jobs.
- Databricks enforces access control using the token’s scopes and claims.
Access control in Databricks can be granular. You can set permissions for clusters, notebooks, jobs, tables, and data sources. Pairing this with OAuth 2.0 means you can enforce role-based access without embedding user credentials in pipelines. Tokens expire when they should. Revocation is instant.