Answer: Deliver the variables through the `env` block of a managed settings file, pushed by MDM, registry policy, or configuration management, and distribute one `apiKeyHelper` command in the managed settings file for the credential. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/distribute-config-managed-settings Revision: 2 Digest: sha256:b5aac7ab1e2ec632 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:33Z Last changed: 2026-11-20T12:21:48Z (excluded setting: — → forceLoginMethod) Last verified: 2026-11-20T12:21:48Z Next check: 2026-11-21T12:21:48Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of delivery method | env | [1] | 2026-11-20 push mechanisms | MDM, registry policy, or configuration management | [1] | 2026-11-20 base URL variable | ANTHROPIC_BASE_URL | [1] | 2026-11-20 credential helper | apiKeyHelper | [1] | 2026-11-20 credential distribution | apiKeyHelper | [1] | 2026-11-20 excluded setting | forceLoginMethod | [1] | 2026-11-20 Sources: [1] Anthropic. "Roll out an LLM gateway for your organization". https://code.claude.com/docs/en/llm-gateway-rollout.md Role: primary. Accessed: 2026-11-20T12:21:48Z Quote: "Deliver the variables through the `env` block of a [managed settings file]" (Supports: delivery method) Quote: "pushed by MDM, registry policy, or configuration management" (Supports: push mechanisms) Quote: ""ANTHROPIC_BASE_URL": "https://llm-gateway.example.com"" (Supports: base URL variable) Quote: ""apiKeyHelper": "/usr/local/bin/get-gateway-key"" (Supports: credential helper) Quote: "distribute one [`apiKeyHelper`](https://code.claude.com/docs/en/llm-gateway-connect#rotate-credentials-with-apikeyhelper) command in the managed settings file as shown above" (Supports: credential distribution) Quote: "Don't include `forceLoginMethod`, `forceLoginOrgUUID`, or `forceLoginGatewayUrl` in managed settings alongside a gateway credential." (Supports: excluded setting) Published: 2026-11-20T03:01:06Z Snapshot SHA-256: c1a11971392682cb7a94ac4160b450100ad2b483ff354cee8ba28c6c84444d36 (captured 2026-11-20T12:21:48Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:21:48Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:48Z Last attempt: 2026-11-20T12:21:48Z Notes and limitations: Extracted automatically from a single official source (section "Distribute through managed settings"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/enable-anthropic-git-proxy How do I enable the Anthropic git proxy for Claude Code self-hosted runners? https://latestn.com/tool/claude-code/admin-and-enterprise/enable-channels-organization How do I enable channels for my organization in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/enable-code-review How do I turn on Code Review for my Claude organization? https://latestn.com/tool/claude-code/admin-and-enterprise/disable-mcp-entirely How do I disable MCP servers entirely for my organization in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/disable-plugin-auto-updates-fleet How do I turn off plugin auto-updates for all users in Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/disable-preview-scripts-ssh-wsl How do I turn off scripts in SSH and WSL previews for my organization in Claude Code Desktop? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:21:48Z | changed | excluded setting: — → forceLoginMethod | [1] 2026-11-20T12:21:48Z | changed | credential distribution: — → apiKeyHelper | [1] 2026-11-20T12:21:48Z | changed | excluded settings: forceLoginMethod → — | [1] 2026-11-20T12:21:48Z | changed | enforcement note: A managed `ANTHROPIC_BASE_URL` is enforced and cannot be overridden by a developer's shell export → — | [1] 2026-11-13T03:04:33Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I distribute the Claude Code gateway configuration to developers through managed settings? Revision 2, last verified 2026-11-20T12:21:48Z. https://latestn.com/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings (accessed 2026-11-21T10:01:46Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_distribute_config_managed_settings_r2, title = {How do I distribute the Claude Code gateway configuration to developers through managed settings?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings}}, note = {Revision 2; digest sha256:b5aac7ab1e2ec632; last verified 2026-11-20T12:21:48Z; accessed 2026-11-21T10:01:46Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/distribute-config-managed-settings