Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

How Claude Code in the terminal applies your console settings changedthird-party/claude-desktop/admin-console-claude-code-reference

Nearest release: v2.1.332, published 4 hours after 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 24 Nov 2026 17:14 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 24 Nov 2026 17:37 UTC.

Upstream edited
Recorded here
Lines+26added
Lines−12removed
From line 16 where the diff opens
First seen 19 Nov 2026 this site's first read of the page
Recorded edits5to this page, all time

The whole hunk

from line 16, old and new numbered
/
lines
from line 16
1616| - | - | - |
1717| **Connection** | **Inference provider**, and the fields for that provider | Sends model requests to that provider or gateway |
1818| **Connection** | **Model list** | `/model` in Claude Code lists your models. Developers can pick only the models on your list. |
19| **Connection** | **Tier alias** and **Max effort**, on an entry in the **Model list** | Uses that model for the tier, as with `--model haiku`. Developers can't raise its effort above your level. |
19| **Connection** | **Tier alias** and **Max effort**, on an entry in the **Model list** | Uses that model for the tier, as with `--model haiku`. Developers can't raise that model's effort above the level that you set. |
2020| **Capabilities** | **Disabled built-in tools** | Claude can't use the [tools](https://code.claude.com/docs/en/tools-reference) you list |
2121| **Capabilities** | **Built-in tool policy** | Asks the developer before a call that matches an `ask` entry, and refuses it where nobody can answer, as in `claude -p`. `allow` entries have no effect. |
2222| **Capabilities** | **Disable bypass permissions mode** | Refuses bypass permissions mode |
from line 34
3434| **Plugins** | **Organization plugin settings** | On a plugin's MCP server with that **Server name**, Claude can't use a tool set to **Blocked**. Claude Code asks before it uses a tool set to **Ask each time**. If **Managed MCP servers** has an entry with the same name, Claude Code uses only that entry's **Tool policy**, even if the entry has none. Set **Blocked** and **Ask each time** there. |
3535| **Telemetry & updates** | **Block essential telemetry** | Sends no [error reports](https://code.claude.com/docs/en/data-usage#telemetry-services) |
3636| **Telemetry & updates** | **Block nonessential telemetry** | Turns off automatic updates and `/feedback` |
37| **Telemetry & updates** | **OTLP endpoint** and the other OTLP fields | Sends OpenTelemetry data to [your collector](#where-data-goes). **Desktop telemetry export level** and **Telemetry attribute length limit** have no effect in the terminal. |
38| **Appearance** | **End-user attribution** | When it's off, the data sent to your collector leaves out `enduser.id` |
3739 
3840If you block an MCP server that the developer added and that's already running, the server keeps answering in that session.
3941 
from line 77
7577 
7678While a terminal uses your connection, the developer's own Claude login or API key doesn't go to the gateway. Check these settings before developers sign in:
7779 
78* **Helper script**: Claude Code checks the **Helper script** on your **Connection** page before it runs it. To install it, see [Install the helper for Claude Code in the terminal](https://claude.com/docs/third-party/claude-desktop/credential-helper.md#install-the-helper-for-claude-code-in-the-terminal).
79* **A gateway that Claude Code can't use**: Claude Code in the terminal doesn't use your gateway if, for example, the **Helper script** doesn't run on the computer, or the sign-in flow is `broker` and you haven't [allowed browser sign-in](https://claude.com/docs/third-party/claude-desktop/entra-broker.md#allow-browser-sign-in-where-your-gateway-uses-the-entra-broker). `/status` in Claude Code names the setting. The session then uses the provider and the credentials that are set on the computer. These can be the developer's own Claude login or API key, even when `ANTHROPIC_BASE_URL` on the computer is your gateway's address. If nothing on the computer sets a provider, Claude Code doesn't start. In that case, it doesn't send prompts to the Anthropic API with the developer's own login or key.
80* **Gateway-managed Claude Code**: if the console doesn't show this switch, it's off. With an identity provider, the switch changes nothing in a terminal. With **Interactive sign-in** and no identity provider, a provider that the developer or the computer set stays in use until the developer runs `/login` in Claude Code. After that, the session follows the gateway's own settings, and none of your console settings apply. In that setup, on a computer whose `forceLoginOrgUUID` lists your organization, Claude Code doesn't sign in to the gateway. It refuses prompts there unless the developer or the computer set a provider or `ANTHROPIC_BASE_URL`.
80* **Helper scripts**: Claude Code checks the **Helper script** on your **Connection** page and the **OTLP headers helper script** on your **Telemetry & updates** page before it runs them. To install them, see [Install the helper for Claude Code in the terminal](https://claude.com/docs/third-party/claude-desktop/credential-helper.md#install-the-helper-for-claude-code-in-the-terminal).
81* **A gateway that Claude Code can't use**: Claude Code in the terminal doesn't use your gateway if, for example, the **Helper script** is missing from the computer, or the sign-in flow is `broker` and you haven't [allowed browser sign-in](https://claude.com/docs/third-party/claude-desktop/entra-broker.md#allow-browser-sign-in-where-your-gateway-uses-the-entra-broker). `/status` in Claude Code names the setting. The session then uses the provider and the credentials that are set on the computer. These can be the developer's own Claude login or API key, even when `ANTHROPIC_BASE_URL` on the computer is your gateway's address. If nothing on the computer sets a provider, Claude Code doesn't start. In that case, it doesn't send prompts to the Anthropic API with the developer's own login or key.
82* **Gateway-managed Claude Code**: if the console doesn't show this switch, it's off. With an identity provider, the switch changes nothing in a terminal. If the switch is on with **Interactive sign-in** and no identity provider, a provider that the developer or the computer set stays in use until the developer runs `/login` in Claude Code. After that, the session follows the gateway's own settings, and none of your console settings apply. In that setup, on a computer whose `forceLoginOrgUUID` lists your organization, Claude Code doesn't sign in to the gateway. It refuses prompts there unless the developer or the computer set a provider or `ANTHROPIC_BASE_URL`.
8183 
8284## Managed settings beside the console
8385 
from line 87
8587 
8688* **Many settings persist**: these include cloud credentials, proxy variables in `env`, model names, hooks, required versions, managed MCP servers, and plugins
8789* **Your connection replaces these `env` values**: the cloud provider, region, project, resource, provider base URL, and custom request headers. If you have a **Model list**, it replaces `availableModels`.
90* **Your collector replaces the computer's**: if you filled in **OTLP endpoint**, OpenTelemetry data goes only to your collector. Your OTLP fields replace the computer's OpenTelemetry address, protocol, resource attributes, and content settings. `CLAUDE_CODE_ENABLE_TELEMETRY` set to `0` on the computer doesn't turn off the export. To turn it off, use the [JSON](#claude-code-settings-as-json). `OTEL_LOG_ASSISTANT_RESPONSES` set to `0` on the computer still applies, with the limits under [Content capture](https://claude.com/docs/third-party/claude-desktop/telemetry.md#content-capture).
91* **Certificates for your collector**: exports to your collector don't use `OTEL_EXPORTER_OTLP_CERTIFICATE`, `OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE`, or `OTEL_EXPORTER_OTLP_CLIENT_KEY`, even over gRPC. Use `NODE_EXTRA_CA_CERTS` for a private CA, and `CLAUDE_CODE_CLIENT_CERT` and `CLAUDE_CODE_CLIENT_KEY` for a [client certificate](https://code.claude.com/docs/en/network-config#mtls-authentication).
8892* **These stop applying, and you can enter them in the console**: `companyAnnouncements` and `allowedMcpServers` if you set it without `allowManagedMcpServersOnly`
8993* **These stop applying, and the console can't set them**: `permissions.allow`, the default permission mode, added directories, `statusLine`, `skillOverrides`, `claudeMdExcludes`, `autoMemoryEnabled`, and display preferences. The developer's own settings decide these. A skill that you turned off with `skillOverrides` is available again.
9094* **Your proxy for sandboxed commands stops applying**: Claude Code ignores `sandbox.network.httpProxyPort` and `sandbox.network.socksProxyPort` in the computer's managed settings. The console can't set them. Sandboxed commands no longer go through your proxy. To limit the hosts that sandboxed commands reach, use **Allowed egress hosts**.
from line 100
96100 
97101Check the computer's managed settings for these:
98102 
99* **A private endpoint**: the managed settings can point Claude Code at a private address for your provider, such as `ANTHROPIC_BEDROCK_BASE_URL` for a VPC endpoint. Your connection overrides that address, and requests go to the provider's default address. To keep the private address, enter it in the provider's base URL field on the **Connection** page, such as **Bedrock base URL**. Claude Desktop then uses that address. Claude Code in the terminal stops using your connection, and uses the provider, region, address, and credentials that are set on the computer. Your restrictions still apply, but your **Model list** and custom headers don't. The base URL field applies to every developer who signs in, so Claude Code doesn't start on a computer that sets no provider.
103* **A private endpoint**: the managed settings can give Claude Code a private address for your provider, such as `ANTHROPIC_BEDROCK_BASE_URL` for a VPC endpoint. Your connection overrides that address, and requests go to the provider's default address. To keep the private address, enter it in the provider's base URL field on the **Connection** page, such as **Bedrock base URL**. Claude Desktop then uses that address. Claude Code in the terminal stops using your connection, and uses the provider, region, address, and credentials that are set on the computer. Your restrictions still apply, but your **Model list** and custom headers don't. The base URL field applies to every developer who signs in, so Claude Code doesn't start on a computer that sets no provider.
100104* **A Microsoft Foundry key**: if the managed settings set `ANTHROPIC_FOUNDRY_API_KEY` or `ANTHROPIC_FOUNDRY_AUTH_TOKEN`, check which of these applies, and make the change in the managed settings. Don't set both `ANTHROPIC_FOUNDRY_RESOURCE` and `ANTHROPIC_FOUNDRY_BASE_URL`, because Foundry requests then fail.
101 * **If they set `ANTHROPIC_FOUNDRY_RESOURCE`, or neither**: make sure that `ANTHROPIC_FOUNDRY_RESOURCE` is set beside the Foundry key. Otherwise, Claude Code refuses each Foundry request once the computer has `forceLoginOrgUUID`, even before a sign-in. If your provider is Microsoft Foundry, use the resource on your **Connection** page. With any other resource, Claude Code refuses each Foundry request after a sign-in.
102 * **If they set `ANTHROPIC_FOUNDRY_BASE_URL` and your provider is Microsoft Foundry**: a sign-in overrides that base URL, and Claude Code then refuses each Foundry request. Replace it with `ANTHROPIC_FOUNDRY_RESOURCE`, set to the resource on your **Connection** page. To keep it as a private endpoint instead, follow **A private endpoint** in this list.
105 * **If the managed settings set `ANTHROPIC_FOUNDRY_RESOURCE`, or set neither that variable nor `ANTHROPIC_FOUNDRY_BASE_URL`**: make sure that `ANTHROPIC_FOUNDRY_RESOURCE` is set beside the Foundry key. Otherwise, Claude Code refuses each Foundry request once the computer has `forceLoginOrgUUID`, even before a sign-in. If your provider is Microsoft Foundry, use the resource on your **Connection** page. With any other resource, Claude Code refuses each Foundry request after a sign-in.
106 * **If the managed settings set `ANTHROPIC_FOUNDRY_BASE_URL` and your provider is Microsoft Foundry**: a sign-in overrides that base URL, and Claude Code then refuses each Foundry request. Replace it with `ANTHROPIC_FOUNDRY_RESOURCE`, set to the resource on your **Connection** page. To keep it as a private endpoint instead, follow **A private endpoint** in this list.
103107* **`forceLoginMethod` and `forceLoginGatewayUrl`**: remove `forceLoginGatewayUrl`, and don't set `forceLoginMethod` to `console` or `gateway`. Otherwise, Claude Code refuses the sign-in to your organization.
104108* **`allowedProviders`**: add your provider to the list. For a gateway, add `customEndpoint`, and set `ANTHROPIC_BASE_URL` in the managed `env` to your **Gateway base URL**, with a lower-case host and no trailing slash.
105109* **Model names**: `model`, `fallbackModel`, and `modelOverrides` persist. If those model names are for a different provider than your connection, remove them.
106110* **A [policy helper](https://code.claude.com/docs/en/settings-reference#policyhelper)**: the computer ignores your console, even with `forceLoginOrgUUID`
107111 
108To go back, remove your organization's ID from `forceLoginOrgUUID`, or remove `forceLoginOrgUUID` if yours is the only ID. Also remove `enforceAnthropicSignIn` and `parentSettingsBehavior` if you set them. Ask developers to run `claude auth logout` in their terminal, which removes the leftover sign-in and their other Claude Code logins.
112To go back, remove your organization's ID from `forceLoginOrgUUID`, or remove `forceLoginOrgUUID` if your organization's ID is the only one. Also remove `enforceAnthropicSignIn` and `parentSettingsBehavior` if you set them. Ask developers to run `claude auth logout` in their terminal, which removes the leftover sign-in and their other Claude Code logins.
109113 
110114## Where data goes
111115 
from line 125
121125* **Error reports**: a session under your settings sends none
122126* **WebFetch domain check**: a session sends each page's host name to `api.anthropic.com`, unless you turn on **Skip WebFetch domain check**
123127 
128If you filled in **OTLP endpoint**, Claude Code also sends OpenTelemetry data directly from the developer's computer to your collector, not through Anthropic.
129 
130* **Metrics and logs**: Claude Code sends these, and traces if **Export traces** is on
131* **Content**: prompts, responses, tool details, tool content, and raw API bodies go only if you select them under **Content capture**. If you select prompts, responses go too. Raw API bodies hold full requests and responses, so they include prompts, responses, and tool content even if you didn't select those.
132* **The developer's identity**: each record includes the computer's user name as `process.owner`. Unless **End-user attribution** is off, it also includes `enduser.id`. This is the name from the developer's sign-in to your gateway or identity provider, or else their account's email address.
133* **A token, if you choose to send one**: if **Collector authentication** is **Reuse the inference credential**, Claude Code sends the collector the bearer token, if there is one, from your **Helper script**, your gateway's sign-in, or your identity provider. That token can also make model requests as the developer, so use this option only for a collector that you operate. After the token expires, Claude Code sends data without a valid token until the next model request. If your collector refuses that data, it's lost.
134* **Which sessions send**: a `claude ssh` session sends nothing to your collector. On a computer with no managed settings, neither does a session that uses a Claude login, an Anthropic API key, or a base URL of the developer's own. On a computer whose managed settings name your organization, your collector gets the session's telemetry whichever login or key signs the requests.
135 
124136Claude Code keeps these on the developer's computer, among other files:
125137 
126138* **The sign-in, and the sign-in to your gateway**: in Claude Code's credential store. This is the Keychain on macOS, and the file `.credentials.json` in Claude Code's configuration directory on Linux, or on macOS if the Keychain refuses the write. On Windows, it's that file or Windows Credential Manager.
127* **The stored copy of your settings**: in Claude Code's configuration directory, `~/.claude` by default. It doesn't hold your connection.
139* **The stored copy of your settings**: in Claude Code's configuration directory, `~/.claude` by default. It doesn't hold your connection or your collector's address and headers.
128140* **A record of where your connection sent requests**: in `~/.claude.json`. The record holds your organization's ID and no credentials. For a cloud provider, it also holds the provider with its region, project, resource, AWS profile, and Amazon Bedrock inference profiles, which can include an AWS account ID. For a gateway, it holds the gateway's host and your identity provider's address.
129141 
130142## Security considerations
from line 143
131143 
132144A developer doesn't need administrator access to bypass your settings. These are some of the ways a developer can work without them, and what limits each one:
133145 
134* **Signs in to another organization that's set up this way, on a computer with no managed settings**: the other organization's settings apply instead of yours. `forceLoginOrgUUID` in the computer's managed settings limits this.
146* **Signs in to another organization that's set up this way, on a computer with no managed settings**: the other organization's settings apply instead of yours, including its OpenTelemetry collector. `forceLoginOrgUUID` in the computer's managed settings limits this.
135147* **Signs in to your organization while still signed in to a Claude apps gateway, on a computer with no managed settings**: sessions stay on that gateway, and your settings don't apply. The sign-in then prints `Claude Code still uses the gateway at`. To fix it, the developer runs `claude auth logout` in their terminal and signs in to your organization again. If their own settings set `forceLoginMethod` to `gateway`, they first remove it and `forceLoginGatewayUrl`. `forceLoginOrgUUID` limits this. `/status` in Claude Code shows a session that follows a gateway's own settings as `Cloud gateway`, and the **Allow sign-in from Claude Code in terminals and IDEs** switch doesn't stop it.
136148* **Signs in with their own Claude account**: Claude Code ends the organization sign-in and removes the stored copy of your settings. `forceLoginOrgUUID` limits this. On a computer that requires the sign-in, a claude.ai login still starts sessions on the Anthropic API, without your settings.
137149* **Changes how Claude Code starts on their own computer**: the sign-in keys are checked on the developer's computer. Sessions can run on the Anthropic API under another login, without your settings. `allowedProviders` without `"anthropic"` in the computer's managed settings limits this, if developers don't need direct access to the Anthropic API. Otherwise, only controls outside Claude Code limit this.
150* **Sends Claude Code's traffic through their own proxy and certificate authority**: the proxy can answer in place of Anthropic, so Claude Code can accept settings that Anthropic didn't send. Only controls outside Claude Code limit this.
138151* **Runs `claude mcp serve`, which gives another program access to Claude Code's tools**: calls from that program skip your permission rules. The sandbox from **Allowed egress hosts** still applies. Only controls outside Claude Code limit this.
139152* **Sets `sandbox.filesystem.allowRead` in their own settings**: sandboxed commands can then read those paths, even if you deny them with `sandbox.filesystem.denyRead`, `Read` deny rules, or **Block reads outside working directories**. Claude's file tools still follow your `Read` deny rules and **Block reads outside working directories**. `sandbox.filesystem.allowManagedReadPathsOnly` set to `true` in the computer's managed settings stops this for `sandbox.filesystem.denyRead` and `Read` deny rules. The console can't set this key. Don't set it if you use **Block reads outside working directories**, because that setting then [doesn't reach sandboxed commands](https://code.claude.com/docs/en/settings-reference#sandboxed-commands-under-the-block).
140153* **Installs a plugin that contains a [mod](https://code.claude.com/docs/en/plugins/mods/overview), loads one with `--plugin-dir`, or has Claude write one**: the mod runs code as the developer. Your deny rules, **Disabled built-in tools**, and **Built-in tool policy** don't apply to actions of the mod itself. `allowManagedHooksOnly` set to `true` in your JSON limits this. It also stops developers' own hooks, and hooks and mods in plugins that developers add, including plugins from your **Plugin marketplaces**.
from line 155
142155 
143156The sign-in keys and your own settings have limits too:
144157 
145* **`forceLoginOrgUUID`**: the check runs on the developer's computer and isn't a security boundary. It doesn't check the organization of a Claude Console login or an [Anthropic profile](https://code.claude.com/docs/en/authentication#anthropic-profiles-and-federation-credentials). Unless you also [require the sign-in](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md#require-the-sign-in-with-managed-settings), both still work on the Anthropic API, and a saved Claude Console key also works at an `ANTHROPIC_BASE_URL` that the developer sets.
158* **`forceLoginOrgUUID`**: the check runs on the developer's computer and isn't a security boundary. It doesn't check the organization of a saved Claude Console key or an [Anthropic profile](https://code.claude.com/docs/en/authentication#anthropic-profiles-and-federation-credentials). Unless you also [require the sign-in](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md#require-the-sign-in-with-managed-settings), both still work on the Anthropic API, and a saved Claude Console key also works at an `ANTHROPIC_BASE_URL` that the developer sets.
146159* **`enforceAnthropicSignIn`**: it applies only when Claude Code can read the managed settings that set it. If you set no `forceLoginOrgUUID`, no session starts on a cloud provider or a custom base URL.
147160* **After a sign-in ends**: on a cloud provider that the developer or the computer set, most restrictions in the stored copy, though not `deniedModels`, stay in force until the developer runs `claude auth logout` in their terminal or signs in with another account
148* **Credential settings**: **AWS profile name**, **AWS config directory**, **GCP credentials file path**, and **Helper script** on your **Connection** page can run a command on the developer's computer, in some cases without asking the developer. Give the Owner role, and any other access to the **Desktop 3P** pages, only to people you trust to run programs there.
161* **OpenTelemetry export**: a developer can still stop it on their own computer, for example with a very short export timeout. They can also change the identity that it sends.
162* **Credential settings**: **AWS profile name**, **AWS config directory**, **GCP credentials file path**, and **Helper script** on your **Connection** page, and **OTLP headers helper script** on your **Telemetry & updates** page, can run a command on the developer's computer, in some cases without asking the developer. Give the Owner role, and any other access to the **Desktop 3P** pages, only to people you trust to run programs there.
149163 
150164To enforce budgets and rate limits and to log each model request, use an LLM gateway.
151165 
Feedback