Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

1.9 KB
Raw Blame
<Steps>
    <Step title="Open workspace settings" titleSize="h3">
        In Databricks, open the dropdown in the top right and select **Settings**.

        ![Workspace Settings Page](/images/app-connections/databricks/workspace-settings.png)
    </Step>
    <Step title="Open service principals" titleSize="h3">
        Under **Identity & Access**, select **Manage** in the **Service Principals** section.

        ![Manage Service Principals](/images/app-connections/databricks/manage-service-principals.png)
    </Step>
    <Step title="Add a service principal" titleSize="h3">
        Select **Add Service Principal**, then **Add New**, and create a service principal for Infisical.

        ![Add Service Principal](/images/app-connections/databricks/add-service-principal.png)
        ![Create Service Principal](/images/app-connections/databricks/create-service-principal.png)
    </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 the scopes for the features you plan to use:
            - `secrets` for secret syncs
            - `authentication` and `scim` for secret rotations
        3. Select **Generate**, then save the **Client ID** and **Secret** for the Infisical form

        ![Generate Secret](/images/app-connections/databricks/service-principal-secrets.png)
        ![Copy IDs](/images/app-connections/databricks/service-principal-ids.png)

        <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>
</Steps>