Skip to content

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

2.3 KB
Raw Blame
## Step 1: Configure in Infisical

### Create a project

In Infisical, a [project](/documentation/platform/secrets-mgmt/project) holds all secrets for one application or service. To create a project:

<Steps>
  <Step>
    Log in to [Infisical](https://app.infisical.com).
  </Step>
  <Step>
    Select **Secrets Management** > **+ Add New Project**.
  </Step>
  <Step>
    In the **Project Name** field, enter a name for the project (e.g., `orders-service`).
  </Step>
  <Step>
    Select **Create Project**.
  </Step>
</Steps>

This opens your new project in the **Development** environment:

<Frame>
  ![New project](/snippets/documentation/platform/secrets-mgmt/assets/new-project.png)
</Frame>

<Note>
  Within a project, secrets are organized across [environments](/documentation/platform/secrets-mgmt/project#project-environments). Every new project starts with three environments: **Development**, **Staging**, and **Production**.
</Note>

### Add your secrets

You have two options for adding secrets to your project:

<Tabs>
  <Tab title="Create secrets manually">
    To create a new secret from scratch:

    <Steps>
      <Step>
        Select **+ Add a New Secret**.
      </Step>
      <Step>
        In the **Key** and **Value** fields, enter a key-value pair. For example:

        <Frame>
          ![Create Secret panel](/snippets/documentation/platform/secrets-mgmt/assets/key-value-fields.png)
        </Frame>
      </Step>
      <Step>
        Select **Create Secret**.
      </Step>
      <Step>
        Repeat these steps for each key-value pair you want to add.
      </Step>
    </Steps>
  </Tab>
  <Tab title="Import secrets from an existing file">
    To import secrets from an existing file:

    <Steps>
      <Step>
        Drag and drop the file containing your secrets (or enter the file's contents manually by selecting **Paste Secrets**).
      </Step>
      <Step>
        Review the discovered secrets. For example:

        <Frame>
          ![Review secrets](/snippets/documentation/platform/secrets-mgmt/assets/review-secrets.png)
        </Frame>
      </Step>
      <Step>
        In the **Target Environments** field, select the environments to upload the secrets to.
      </Step>
      <Step>
        Select **Upload Secrets**.
      </Step>
    </Steps>
  </Tab>
</Tabs>