Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.96 ·

Bedrock bearer token authentication streamlined

Entry
JSON All of v2.1.96
EntryKind: in v2.1.96,
ImprovementsSection of the release
What

Bearer token authentication for AWS Bedrock has been refactored to use the SDK's native apiKey parameter instead of manually setting skipAuth: true and injecting an Authorization header.

Details
  • Previously, when using AWS_BEARER_TOKEN_BEDROCK, Claude Code would set skipAuth: !0 and manually add Authorization: Bearer <token> to the request headers. This has been simplified to pass the token directly as apiKey, which is the SDK's standard mechanism.
  • When CLAUDE_CODE_SKIP_BEDROCK_AUTH is enabled, the code now properly extracts and preserves any existing Authorization header from defaultHeaders configuration. Previously, custom authorization headers in defaultHeaders could be ignored in certain code paths.
  • The skipAuth flag is now only set when CLAUDE_CODE_SKIP_BEDROCK_AUTH is enabled and no bearer token is available (previously it was set whenever either the skip flag or a bearer token was present).
Evidence

Bedrock client construction refactored across three code paths (search for apiKey: Y.token, apiKey: process.env.AWS_BEARER_TOKEN_BEDROCK, and the new pq_ helper that extracts authorization headers)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed Bedrock requests failing with 403 "Authorization header is missing" when using AWS_BEARER_TOKEN_BEDROCK or…

See this entry in the whole of v2.1.96 →

Feedback