Enable token-based authentication for your workspace

Token-based authentication must be enabled in order for users to generate and use personal access tokens to authenticate to the Databricks REST API. We strongly recommend token-based authentication instead of username and password. Personal access tokens have an expiration date and can be revoked.

Important

Token-based authentication is enabled by default for all Databricks accounts launched after January 2018.

For more information about using token-based authentication, see Authentication using Databricks personal access tokens.

Enable tokens

  1. Go the Admin Console.

  2. Select the Access Control tab.

    Access control tab
  3. Click the Enable button next to Personal Access Tokens.

  4. Click Confirm to confirm the change. This change may take a few seconds to take effect.