Skip to content

[BEDROCK-AUTH-0100] 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-0100] 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 AWS-native authentication to BedrockOpenAI and AsyncBedrockOpenAI.

  • Preserve static and callback bearer authentication.
  • Discover AWS_BEARER_TOKEN_BEDROCK through botocore when available.
  • Fall back to the standard botocore credential chain and SigV4.
  • Support profiles, explicit temporary credentials, and credential providers.
  • Sign finalized requests independently on every retry.
  • Add the optional openai[bedrock] extra with AWS login-profile support.
  • Preserve authentication correctly across copy() and with_options().

Additional context & links

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

Builds on openai#3326.

Validation: 51 focused tests, Ruff, formatting, mypy, wheel build, dependency-free bearer smoke test, and installed-extra SigV4 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