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.
- Log in to your Databricks Workspace.
- At the top-right corner of the page, click your username > Settings .
- Go to the Identity and access tab > Service principals > Manage .
- Select an existing service principal or create a new one.
- In the Secrets tab, click Generate secret , set a lifetime , and click Generate .
- 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:
- Log in to your Databricks Workspace.
- At the top-right corner of the page, click your username > Settings .
- Go to the Identity and access tab > Service principals > Manage .
- Navigate to the Groups tab under Identity and access section.
- In the existing groups, click admins .
- Click Add Members in Members tab of admins .
- In the pop-up window, use the Select members drop-down menu to select the service principal associated with Site24x7 (created in previous section).
- Click Add .
The client secret is shown only once and cannot be retrieved after leaving the page. Store it in a secure location before proceeding.
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.
|