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
---
title: "Spacelift connection"
sidebarTitle: "Spacelift"
description: "Learn how to configure a Spacelift Connection for Infisical."
---
Infisical supports connecting to Spacelift using an API key ID and API key secret for secure access to your Spacelift account.
## Create an API key in Spacelift
<Steps>
<Step title="Navigate to Organization Settings">
Select your profile name and select **Organization Settings** at the bottom left side of the Spacelift dashboard.

</Step>
<Step title="Open API Keys">
Select **API Keys** under the identity management section.

</Step>
<Step title="Create API Key">
Select **Create API Key**.

</Step>
<Step title="Set a Name">
Set a name for the API key, choose the type **Secret** and select **Continue**.

</Step>
<Step title="Configure Roles, Space, and Create">
Select the **Space admin** role (or a custom role with at least **Space reader**, **Space writer**, and **Context update** permissions), choose the Space that will be managed by this credential, then select **Add** and **Create API Key**. A file will be downloaded containing your credentials.

</Step>
<Step title="Extract Credentials">
Open the downloaded file and extract the `api_key_id` and `api_key_secret` values.
</Step>
</Steps>
## Setup Spacelift connection in Infisical
<Steps>
<Step title="Navigate to App Connections">
Navigate to the **Integrations** tab in the desired project, then select **App Connections**.

</Step>
<Step title="Add Connection">
Select the **Spacelift Connection** option from the connection options modal.

</Step>
<Step title="Input Credentials">
Enter your Spacelift API URL, API Key ID, and API Key Secret in the provided fields and
select **Connect to Spacelift** to establish the connection.
<Note>
The API URL is the base URL of your Spacelift account (e.g., `https://myorgname.app.us.spacelift.io/`).
</Note>

</Step>
<Step title="Connection Created">
Your **Spacelift Connection** is now available for use in your Infisical projects.

</Step>
</Steps>