Answer: To route Claude Code through a corporate proxy, set `ANTHROPIC_AWS_BASE_URL` to the proxy's address. If your gateway signs requests itself, also set `CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH=1` so Claude Code sends unsigned requests and lets the gateway add SigV4 headers. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/corporate-proxy-aws Revision: 1 Digest: sha256:6f24f1afc6e8fe46 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:36Z Last changed: 2026-11-13T03:03:36Z Last verified: 2026-11-20T12:19:00Z Next check: 2026-11-21T12:19:00Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Proxy base URL variable | ANTHROPIC_AWS_BASE_URL | [1] | 2026-11-20 Example proxy URL | https://anthropic-proxy.example.com | [1] | 2026-11-20 Skip auth variable | CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH=1 | [1] | 2026-11-20 Enable AWS variable | CLAUDE_CODE_USE_ANTHROPIC_AWS=1 | [1] | 2026-11-20 Gateway token variable | ANTHROPIC_AUTH_TOKEN | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code on Claude Platform on AWS". https://code.claude.com/docs/en/claude-platform-on-aws.md Role: primary. Accessed: 2026-11-20T12:19:00Z Quote: "set `ANTHROPIC_AWS_BASE_URL` to the proxy's address" (Supports: Proxy base URL variable) Quote: "export ANTHROPIC_AWS_BASE_URL=https://anthropic-proxy.example.com" (Supports: Example proxy URL) Quote: "set `CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH=1` so Claude Code sends unsigned requests" (Supports: Skip auth variable) Quote: "export CLAUDE_CODE_USE_ANTHROPIC_AWS=1" (Supports: Enable AWS variable) Quote: "If the gateway requires its own token, set it in `ANTHROPIC_AUTH_TOKEN`." (Supports: Gateway token variable) Published: 2026-11-20T10:36:06Z Snapshot SHA-256: 69a072a212cf41756ca453651124dc9858559b5b71ddef67e441f6376866862f (captured 2026-11-19T12:14:42Z) 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]. On this check the text of [1] was unchanged since 2026-11-13T03:03:36Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:19:00Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:19:00Z Last attempt: 2026-11-20T12:19:00Z Notes and limitations: Extracted automatically from a single official source (section "Route through a corporate proxy"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/create-test-environment How do I create a dedicated test environment for Claude Code self-hosted environments? https://latestn.com/tool/claude-code/admin-and-enterprise/custom-ca-certificates How do I make Claude Code trust a custom CA certificate? https://latestn.com/tool/claude-code/admin-and-enterprise/default-mod-behavior What happens by default with mods in Claude Code if I change nothing? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxies-gateways How do I configure a proxy or gateway for Claude Code in an enterprise deployment? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxy-server How do I configure a proxy server for Claude Code in an enterprise environment? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-server-managed-settings How do I configure server-managed settings for Claude Code in the claude.ai console? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:03:36Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/corporate-proxy-aws/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/corporate-proxy-aws POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/corporate-proxy-aws with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/corporate-proxy-aws?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I route Claude Code through a corporate proxy on Claude Platform on AWS? Revision 1, last verified 2026-11-20T12:19:00Z. https://latestn.com/tool/claude-code/admin-and-enterprise/corporate-proxy-aws (accessed 2026-11-21T09:57:21Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_corporate_proxy_aws_r1, title = {How do I route Claude Code through a corporate proxy on Claude Platform on AWS?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/corporate-proxy-aws}}, note = {Revision 1; digest sha256:6f24f1afc6e8fe46; last verified 2026-11-20T12:19:00Z; accessed 2026-11-21T09:57:21Z} } 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/corporate-proxy-aws