Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions applications/configure/environment-groups.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ You can create a new environment group from the **Env Groups** tab on the Porter

Environment group names must be up to 63 characters and may only contain lowercase letters, numbers, and hyphens (`-`).

The create form has a **Type** selector that lets you choose where the values are stored:

- **Porter** — values are managed in Porter and synced to your cloud provider's secret manager. This is the default.
- **Doppler** — values are pulled from a [Doppler](/integrations/doppler) config. Requires the Doppler integration to be enabled on at least one cluster.
- **Infisical** — values are pulled from an [Infisical](/integrations/infisical) project. Requires the Infisical integration to be enabled on at least one cluster.

Doppler and Infisical environment groups are read-only in Porter and sync to a single cluster. Porter environment groups can be synced to any number of clusters in the project.

You can also create environment groups from the CLI:

<CodeGroup>
Expand Down
17 changes: 12 additions & 5 deletions integrations/doppler.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,18 @@ The token will be prefixed with `dp.st.`.

### Create the environment group in Porter

1. On the Doppler integration page in Porter, click **Add Doppler env group**.
2. Fill in the form:
- **Env group name (vanity name for Porter)** — the name you'll use to reference this environment group inside Porter (e.g. `production-doppler`).
- **Doppler service token** — the `dp.st.…` token you generated above.
3. Click **Add Doppler env group**.
Doppler environment groups are created from the same form as any other Porter environment group.

1. From the Porter dashboard, navigate to the **Env Groups** tab and click **New Env Group**.
2. Enter a **Name** — the name you'll use to reference this environment group inside Porter (e.g. `production-doppler`).
3. For **Type**, select **Doppler**. (This option only appears once the Doppler integration is enabled on at least one cluster.)
4. Paste your **Doppler service token** (the `dp.st.…` token you generated above).
5. Select the **Target cluster** to sync the secrets into. If only one cluster has Doppler enabled, it's preselected.
6. Click **Create environment group**.

<Tip>
You can also start from the Doppler integration page and click **Create a Doppler environment group** to deep-link into the create form with **Doppler** preselected.
</Tip>

<Frame>
<img src="/images/integrations/doppler-add-env-group.webp" alt="Add a new Doppler service token modal in the Porter dashboard" />
Expand Down
16 changes: 12 additions & 4 deletions integrations/infisical.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,24 @@ Keep both values handy — you'll paste them into Porter in the next step.

### Create the environment group in Porter

1. On the Infisical integration page in Porter, click **Add Infisical env group**.
2. Fill in the form:
- **Name (for Porter environment group)** — the name you'll use to reference this environment group inside Porter (e.g. `production-infisical`).
Infisical environment groups are created from the same form as any other Porter environment group.

1. From the Porter dashboard, navigate to the **Env Groups** tab and click **New Env Group**.
2. Enter a **Name** — the name you'll use to reference this environment group inside Porter (e.g. `production-infisical`).
3. For **Type**, select **Infisical**. (This option only appears once the Infisical integration is enabled on at least one cluster.)
4. Fill in the Infisical configuration:
- **Project slug** — the slug of the Infisical project to sync from.
- **Env slug** — the environment to pull from (e.g. `dev`, `staging`, `prod`).
- **Env path** — the secret path within the environment. Defaults to `/`.
- **Service URL** — the Infisical API URL. Defaults to `https://app.infisical.com/api`. Set this to your self-hosted Infisical URL if you're not using Infisical Cloud.
- **Client ID** — the client ID of the machine identity you created.
- **Client Secret** — the client secret of the machine identity.
3. Click **Add Infisical env group**.
5. Select the **Target cluster** to sync the secrets into. If only one cluster has Infisical enabled, it's preselected.
6. Click **Create environment group**.

<Tip>
You can also start from the Infisical integration page and click **Create an Infisical environment group** to deep-link into the create form with **Infisical** preselected.
</Tip>

<Frame>
<img src="/images/integrations/infisical-add-env-group.webp" alt="Add a new Infisical integration modal in the Porter dashboard" />
Expand Down