⌨️CLAUDE_CODE_SKIP_BEDROCK_AUTH
Also known as CLAUDE_CODE_SKIP_VERTEX_AUTH, CLAUDE_CODE_SKIP_FOUNDRY_AUTH, CLAUDE_CODE_SKIP_MANTLE_AUTH, CLAUDE_CODE_SKIP_ANTHROPIC_AWS_AUTH, CLAUDE_CODE_SKIP_ANTHROPIC_GOOGLE_CLOUD_AUTH
It skips the cloud sign-in when a gateway signs in for you.
Think of it like
It is like a guard at the gate who checks you, so the door does not.
Example
Emma's gateway holds the company's AWS keys. Laptops set this, so Claude Code sends plain requests and the gateway signs them.
Why it matters
No laptop has to hold cloud keys. The gateway keeps them in one safe place.
Definition
Example code
bash
export CLAUDE_CODE_USE_BEDROCK=1
export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1
export ANTHROPIC_BEDROCK_BASE_URL=https://llm.example.com/bedrock
claudeCommon mistake
Key takeaways
- 1One per cloud. Same pattern.
- 2Gateway signs in. Not Claude Code.
- 3No keys on laptops. Safer.