SIGN IN SIGN UP

Redact Bedrock API keys from debug output (#40706)

## Why

Derived debug formatting exposed the managed Amazon Bedrock API key.

## What changed

Implement custom `Debug` formatting for `BedrockApiKeyAuth` that replaces the
API key with `<redacted>` while retaining the region.

## Testing

Add regression coverage for direct and `CodexAuth`-wrapped debug output.

GitOrigin-RevId: 68920fa00a9189c959b0025f22797b32f53d1995
A
alexsong-oai committed
13fe2bcb7a3b1d57f6e67897c633a7d80d4918e7
Parent: 6988d39
Committed by copyberry <copyberry@app.openai.com> on 8/25/2026, 9:08:22 PM