Configure Databricks Service Principal and Client Secret

Configure Databricks Service Principal and Client Secret

Service principals provide a secure way to authenticate without exposing personal credentials. This guide walks you through creating or managing a service principal in your Databricks workspace, generating a client secret, and safely storing it for future use. By following these steps, you’ll ensure that your integrations remain secure, reliable, and compliant with best practices.

  1. Log in to your Databricks Workspace.
  2. At the top-right corner of the page, click your username > Settings .
  3. Go to the Identity and access tab > Service principals > Manage .
  4. Select an existing service principal or create a new one.
  5. In the Secrets tab, click Generate secret , set a lifetime , and click Generate .
  6. Copy the Client ID and Client Secret and enter them in the respective fields.


Follow these instructions to provide sufficient access for the created service principal:


  1. Log in to your Databricks Workspace.
  2. At the top-right corner of the page, click your username > Settings .
  3. Go to the Identity and access tab > Service principals > Manage .
  4. Navigate to the Groups tab under Identity and access section.
  5. In the existing groups, click admins .
  6. Click Add Members in Members tab of admins .
  7. In the pop-up window, use the Select members drop-down menu to select the service principal associated with Site24x7 (created in previous section).
  8. Click Add .


Warning
The client secret is shown only once and cannot be retrieved after leaving the page. Store it in a secure location before proceeding.

Notes

Granting Admin access to the service principal eliminates the need to manually provide sufficient access every time a new Job is added. Contact Site24x7 support team for instructions to provide granular permissions manually.