Skip to content

[BEDROCK-AUTH-0300] Add AWS-native Bedrock authentication#1

Draft
jim-openai wants to merge 1 commit into
review/bedrock-aws-auth-basefrom
codex/bedrock-aws-auth
Draft

[BEDROCK-AUTH-0300] Add AWS-native Bedrock authentication#1
jim-openai wants to merge 1 commit into
review/bedrock-aws-auth-basefrom
codex/bedrock-aws-auth

Conversation

@jim-openai

Copy link
Copy Markdown
Owner
  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Add matching AWS-native authentication to BedrockOpenAI.

  • Preserve static and callback bearer authentication.
  • Discover AWS_BEARER_TOKEN_BEDROCK through AWS SDK utilities.
  • Fall back to the standard AWS SDK credential chain and SigV4.
  • Support profiles, explicit temporary credentials, and credential providers.
  • Sign finalized requests independently on every retry.
  • Keep AWS packages optional for existing bearer-only users.
  • Preserve authentication correctly across withOptions().

Additional context & links

Review-only fork PR. This has not been submitted to the upstream repository.

Builds on openai#1899.

Validation: 44 focused tests, ESLint, Prettier, TypeScript build, package build, dependency-free bearer smoke test, installed-peer SigV4 smoke test, and installed-peer bearer smoke test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant