Use service principals with Databricks

To authenticate automated scripts, tools, apps, and systems with Databricks workspaces and resources, Databricks recommends that you use authentication credentials for service principals instead of Databricks workspace user credentials. See Provision a service principal for Databricks automation - Databricks UI and Service principals for CI/CD.

To request OAuth tokens for service principals, see Authentication using OAuth for service principals.