Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
<Steps>
<Step title="Open workspace settings" titleSize="h3">
In Databricks, open the dropdown in the top right and select **Settings**.

</Step>
<Step title="Open service principals" titleSize="h3">
Under **Identity & Access**, select **Manage** in the **Service Principals** section.

</Step>
<Step title="Add a service principal" titleSize="h3">
Select **Add Service Principal**, then **Add New**, and create a service principal for Infisical.


</Step>
<Step title="Generate a secret" titleSize="h3">
Open the new service principal, select the **Secrets** tab, and select **Generate secret**. In the dialog:
1. Set **Lifetime (days)** to how long Infisical can use the secret (up to 730 days)
2. Under **Scope**, select **Other APIs**, then use **Add scope** to add `authentication` and `scim`
3. Select **Generate**, then save the **Client ID** and **Secret** for the Infisical form


<Note>
You can't change a secret's scopes after you generate it. To use other scopes, or before the secret expires, generate a new secret and update the connection's **Client Secret** and **Scopes**.
</Note>
</Step>
<Step title="Grant rotation permissions" titleSize="h3">
The Infisical service principal needs to manage the secrets of every service principal whose secrets you want to rotate.
1. Navigate to **Settings > Identity & Access > Groups** and select the admin group (typically named `admins` or `workspace-admins`). Select **Add** and pick the Infisical service principal.



2. For every service principal whose secrets you want to rotate, open **Settings > Identity & Access > Service Principals**, select the target, open its **Permissions** tab, and select **Grant access**.


3. In **User, Group or Service Principal**, select the Infisical service principal. In **Permission**, select **Manage**. Select **Save**. Repeat for every target.

</Step>
</Steps>