# CLAUDE_CODE_SKIP_BEDROCK_AUTH

> It skips the cloud sign-in when a gateway signs in for you.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**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

## Think of it like

It is like a guard at the gate who checks you, so the door does not.

## Definition

CLAUDE_CODE_SKIP_BEDROCK_AUTH stops Claude Code from signing in to AWS before it calls Bedrock. Each cloud has its own form, such as _VERTEX and _FOUNDRY. Use it when your requests go through a gateway that signs in for you. Then Claude Code sends requests with no cloud keys of its own.

## Example

Emma's gateway holds the company's AWS keys. Laptops set this, so Claude Code sends plain requests and the gateway signs them.

## 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
claude
```

Reach Bedrock through a gateway that holds the keys.

## Why it matters

No laptop has to hold cloud keys. The gateway keeps them in one safe place.

## Common mistake

Setting it with no gateway in the path. The cloud then gets requests with no keys and turns them away.

## Three principles

- **One per cloud.** Same pattern.
- **Gateway signs in.** Not Claude Code.
- **No keys on laptops.** Safer.

## Related terms

- [CLAUDE_CODE_USE_BEDROCK](https://learn.benibix.com/term/ai/claude-code-use-provider-variables)
- [LLM Gateway](https://learn.benibix.com/term/development/llm-gateway)
- [ANTHROPIC_BASE_URL](https://learn.benibix.com/term/ai/anthropic-base-url-variable)

---

Source: https://learn.benibix.com/term/ai/claude-code-skip-provider-auth-variables
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
