Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Configure cloud environments changedcloud-environments

Nearest release: v2.1.335, published 8 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 3 Dec 2026 06:11 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 06:37 UTC.

Upstream edited
Recorded here
Lines+17added
Lines−20removed
From line 95 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits84to this page, all time

#### Add a secret with the Admin or User role #### Add a secret without an organization admin role

The whole hunk

from line 95, old and new numbered
/
lines
from line 95
9595 
9696These requirements decide whether you can add a secret and whether the agent proxy can use it once added:
9797 
98* **Role**: on every plan, you can add and delete secrets on your own environments whatever your role. On Team and Enterprise, Owners hold an organization admin role in your claude.ai organization and Admins don't, which changes what you see in these cases:
99 * **Your own environment**: without an organization admin role, **Add secret** opens a [shorter form](#add-a-secret-without-the-role)
100 * **A shared environment**: Owners [add and delete its secrets](#add-a-credential) from admin settings. Without an organization admin role, ask an Owner to add the secret, because the environment's dialog has no **Network secrets** section
98* **Role**: on Team and Enterprise plans, these limits apply if you have the Admin or User role in your claude.ai organization:
99 * **Your own environment**: the **Add secret** button opens a [shorter form](#add-a-secret-without-the-role)
100 * **A shared environment**: ask an Owner to add the secret. Owners [add and delete its secrets](#add-a-credential) from admin settings
101101* **Environment type**: an Anthropic-hosted cloud environment. A [self-hosted environment](https://code.claude.com/docs/en/self-hosted-environments) doesn't have network secrets
102102* **API reachability**: the API accepts connections from the internet, because requests leave from Anthropic's network
103103* **Encryption keys**: if your organization uses customer-managed encryption keys, you can't save network secrets
from line 106
106106 
107107You add secrets one at a time. To change a secret's hosts or value, delete it and add it again.
108108 
109To add a secret to a [shared environment](#organization-shared-environments), open it for editing from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings), select its **Network secrets** row, then continue from step 2. If you're on a Team or Enterprise plan and don't hold an [organization admin role](#requirements), follow step 1 on your own environment, then [fill in the shorter form](#add-a-secret-without-the-role).
109To add a secret to a [shared environment](#organization-shared-environments), open it for editing from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings), select its **Network secrets** row, then continue from step 2. If you have the [Admin or User role](#requirements) on a Team or Enterprise plan, follow step 1 on your own environment, then [fill in the shorter form](#add-a-secret-without-the-role).
110110 
111111**1. Open the environment's network secrets**
112112 
from line 127
127127 
128128To confirm the secret works, start a session in the environment and ask Claude to call the API, for example with `curl`. The API answers as if the key were in the request, and the key doesn't appear in the session's environment variables or in any file. If the list marks a secret **Not sent** instead, the note under it says why and what to do. Two secrets whose hosts overlap without matching exactly get no marker, and the agent proxy sends only one of them.
129129 
130#### Add a secret without an organization admin role
130#### Add a secret with the Admin or User role
131131 
132If you're on a Team or Enterprise plan and don't hold an [organization admin role](#requirements), the **Add secret** form takes one secret for one host. Select your environment's [**Network secrets** row](#add-a-credential) and then **Add secret**. Fill in these fields and select the form's **Add secret** button:
132If you have the [Admin or User role](#requirements) on a Team or Enterprise plan, the **Add secret** form takes one secret for one host. Select your environment's [**Network secrets** row](#add-a-credential) and then **Add secret**. Fill in these fields and select the form's **Add secret** button:
133133 
134134* **Host**: the one host that gets the secret, such as `api.example.com`. The form doesn't accept a `*.` wildcard
135135* **Secret type**: **Token** for a key that travels in a request header, or **Username and password**. For a token, paste the key in the **Token** field. For a header other than `Authorization`, such as `X-Api-Key`, change **Header** to its name
from line 136
136136 
137137#### Which requests get the secret
138138 
139The agent proxy attaches a secret to a request when the request's host matches one you listed on that secret. Sessions can reach those hosts even when the environment's [network access level](#access-levels) wouldn't otherwise allow them, except the [hosts that never get the secret](#requests-that-never-get-the-credential). The secret applies in every session that runs in the environment, whoever started it, until you delete it.
139The agent proxy attaches a secret to a request when the request's host matches one you listed on that secret. Sessions can reach those hosts even when the environment's [network access level](#access-levels) wouldn't otherwise allow them, except the [hosts that don't get the secret](#requests-that-never-get-the-credential). The secret applies to the environment's sessions, whoever started them.
140140 
141141#### Requests that never get the secret
142142 
from line 157
157157 
158158### Archive an environment
159159 
160To archive one of your own environments, open it for editing, then select **Archive environment** and confirm. If the environment is [shared with your organization](#organization-shared-environments), an Owner archives it from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings) instead, so ask an Owner unless you are one.
160Before you archive an environment, update what uses it, including:
161161 
162Archiving affects new sessions, not running ones:
162* **Scheduled tasks**: point [cloud scheduled tasks](https://code.claude.com/docs/en/routines.md#edit-and-control-scheduled-tasks) that use the environment at another one, because archiving turns them off.
163* **Network secrets**: let running sessions that use the environment's secrets finish, because archiving can end their access. Delete secrets you no longer want, because they can stay stored afterward.
164* **CLI default**: if you saved the environment with `/remote-env`, run that command again to pick another one. After you archive it, CLI cloud sessions start in the [fallback environment](#the-default-environment) until you do.
163165 
164* Sessions already running in the environment continue to work.
165* The environment disappears from the selector and from `/remote-env`, so you can't pick it for new sessions.
166* Network secrets on the environment stay attached in its running sessions. Delete any you no longer want before you archive.
167* No new session can start in an archived environment, on any surface:
168 * **Saved CLI default**: if the environment was your saved [CLI default](#select-an-environment-from-the-cli), Claude Code starts CLI cloud sessions in the Anthropic-hosted environment when your list has one. Otherwise, it starts them in the first environment in your list that isn't a [Remote Control bridge environment](#the-default-environment).
169 * **Configured explicitly**: anything configured with the environment explicitly, such as a [cloud scheduled task](https://code.claude.com/docs/en/routines.md#environments-and-network-access), can't start new sessions in it. Point it at another environment.
166To archive an environment you created, open it for editing, then select **Archive environment** and confirm. An Owner archives a [shared environment](#organization-shared-environments) from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings). Sessions already running in the environment continue after you archive it.
170167 
171When you no longer need an Anthropic-hosted environment, archive it. Neither the environment dialog nor the **Cloud environments** admin page has an option to delete an Anthropic-hosted environment. If the environment is [self-hosted](https://code.claude.com/docs/en/self-hosted-environments), an Owner can delete it from the **Cloud environments** page in admin settings.
168The environment dialog and the **Cloud environments** page have no option to delete an Anthropic-hosted environment. An Owner can delete a [self-hosted environment](https://code.claude.com/docs/en/self-hosted-environments) from that page.
172169 
173170### Organization-shared environments
174171 
Feedback