Enable Token-based Authentication

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.

Enable tokens

  1. Go the Admin Console.

  2. Select the Access Control tab.

    ../../_images/access-control-tab.png
  3. Click the Enable button next to Personal Access Tokens.

  4. Click Confirm to confirm the change.