Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261123T173711Z

1 pages moved out of 936 read.

Pages moved 1 significant first
Pages read 936 in this capture
Captured 17:37 UTC
Corpus hash d8ea13bc06e4 corpus-hash

What this read moved

1-1 of 1

managed-agents/secure-deployment Changed · +23 / -2 lines

## Limit where your Claude API keys work

from line 1
11---
22title: Secure your Managed Agents deployment
33url: https://platform.claude.com/docs/en/managed-agents/secure-deployment
4description: The settings that limit what your agents can reach and do, most important first.
4description: The settings that limit what your agents can reach and do, and that protect your Claude API credentials, most important first.
55featureMetadata:
66 topic:
77 title: Managed Agents
from line 37
3737 Claude Models on Google Cloud (Anthropic managed): beta
3838---
3939 
40This guide lists the settings that limit what an agent on Claude Managed Agents can reach and do, most important first. Each section links to the page that covers the setting in full.
40This guide lists the settings that limit what an agent on Claude Managed Agents can reach and do, and the settings that protect your Claude API credentials. The most important come first. Each section links to the page that covers the setting in full.
4141 
4242| Section | Setting or decision | Recommended |
4343| ----- | ----- | ----- |
from line 50
5050| [Give the agent the smallest tool set](https://platform.claude.com/docs/en/managed-agents/secure-deployment#give-the-agent-the-smallest-tool-set) | `default_config.enabled` (java, php: `defaultConfig.enabled`; csharp, go: `DefaultConfig.Enabled`) on the agent toolset | `false`, then enable the tools the agent needs |
5151| [Keep untrusted input away from powerful tools](https://platform.claude.com/docs/en/managed-agents/secure-deployment#keep-untrusted-input-away-from-powerful-tools) | Which tools and credentials an agent holds when it reads untrusted input | No agent that reads untrusted input has a tool on `always_allow` that writes files, runs commands, or changes records |
5252| [Set limits and a way to stop](https://platform.claude.com/docs/en/managed-agents/secure-deployment#set-limits-and-a-way-to-stop) | `budget` (csharp, go: `Budget`) on each session and deployment | A cap sized to what you expect a run to cost |
53| [Limit where your Claude API keys work](https://platform.claude.com/docs/en/managed-agents/secure-deployment#limit-where-your-claude-api-keys-work) | Your organization’s IP allowlist, which limits where your requests can come from | Optional, if your requests come from fixed public IP addresses that you control. Add every network first, because one you leave off loses access to covered endpoints and the Claude Console |
5354| [Optionally have an offline reviewer read every transcript](https://platform.claude.com/docs/en/managed-agents/secure-deployment-monitoring#optionally-have-an-offline-reviewer-read-every-transcript) | An offline review job you run that reads each session’s events | Optional. A review of each session that went idle or terminated, on a schedule |
5455| [Monitor sessions and review retention](https://platform.claude.com/docs/en/managed-agents/secure-deployment-monitoring#monitor-sessions-and-review-retention) | Webhooks and session deletion | An alert when a session goes idle, reaches its budget, or terminates, and a check of why it went idle. Store the events you want to keep in your own logs, and delete sessions you no longer need |
5556 
from line 868
867868A budget caps spending, but it does not limit what the agent does before the cap. To keep workloads with different trust levels apart, use separate [workspaces](https://platform.claude.com/docs/en/manage-claude/workspaces). Limit each workload to one workspace: where you can, a [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation) rule enabled only in it, otherwise an API key scoped to it. Access to several workspaces lets the workload act in any of them.
868869 
869870See [Session budgets](https://platform.claude.com/docs/en/managed-agents/budgets), [Session operations](https://platform.claude.com/docs/en/managed-agents/session-operations#archiving-a-session), and [Scheduled deployments](https://platform.claude.com/docs/en/managed-agents/scheduled-deployments#managing-deployment-lifecycle).
871 
872## Limit where your Claude API keys work
873 
874If your requests come from fixed public IP addresses that you control, an organization admin can turn on [IP allowlisting](https://platform.claude.com/docs/en/manage-claude/ip-allowlist), which is in beta. [Covered endpoints](https://platform.claude.com/docs/en/manage-claude/ip-allowlist#where-the-allowlist-applies), including those for agents, sessions, and vaults, then reject API key and Workload Identity Federation requests from unlisted addresses. This makes a leaked key much harder to use.
875 
876The allowlist covers your entire organization and the Claude Console, so the admin must first [add every network your organization uses](https://platform.claude.com/docs/en/manage-claude/ip-allowlist#avoid-locking-yourself-out). These are easy to miss:
877 
878| Add the addresses of | If they are left out |
879| ----- | ----- |
880| Servers that send tool results or approvals | Sessions that wait for them stay paused |
881| [Self-hosted sandbox](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes) workers, and the sandboxes they launch | Sessions can [stay queued](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-operations#a-session-stays-queued) or stop making progress |
882| People and scripts that [stop an agent](https://platform.claude.com/docs/en/managed-agents/secure-deployment#set-limits-and-a-way-to-stop) | They cannot interrupt a session, so it keeps running |
883 
884Keep these points in mind:
885 
886* **Agents:** The allowlist covers your requests, not the agents themselves. A session in a cloud environment has no address to add, even when a scheduled deployment starts it. You still need to [limit the network](https://platform.claude.com/docs/en/managed-agents/secure-deployment#limit-the-network).
887* **Keys in a sandbox:** Do not rely on the allowlist to contain an agent that holds a Claude API key or Claude API access token. [Keep both away from the agent](https://platform.claude.com/docs/en/managed-agents/secure-deployment#keep-credentials-in-vaults), even in a vault.
888* **Platforms:** IP allowlisting is not available on Claude Models on Google Cloud (Anthropic managed) or Claude Platform on AWS.
889 
890See [IP allowlisting limitations](https://platform.claude.com/docs/en/manage-claude/ip-allowlist#limitations).
870891 
871892## Next steps
872893 
Feedback