Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Oct 5, 2025

Summary by cubic

Adds API key authentication to the Bedrock provider so you can use bearer tokens in addition to IAM credentials. Existing IAM behavior is unchanged; configuration is now more flexible.

  • New Features
    • Support apiKey on Bedrock: uses BedrockRuntimeClient token via @aws-sdk/token-providers fromStatic.
    • Fallback to IAM credentials (explicit keys or AWS profile) when no apiKey is provided.
    • Make env optional in BedrockConfig; safely read region/profile.
    • Tests cover API key, IAM, profile paths and missing key/secret errors.

@sestinj sestinj requested a review from a team as a code owner October 5, 2025 23:36
@sestinj sestinj requested review from RomneyDa and removed request for a team October 5, 2025 23:36
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 5, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@sestinj sestinj merged commit e78cca5 into main Oct 5, 2025
56 of 58 checks passed
@sestinj sestinj deleted the nate/bedrock-api-key branch October 5, 2025 23:53
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Oct 5, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2025
@github-actions github-actions bot added the tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys label Oct 5, 2025
@sestinj
Copy link
Contributor Author

sestinj commented Oct 6, 2025

🎉 This PR is included in version 1.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor Author

sestinj commented Oct 6, 2025

🎉 This PR is included in version 1.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor Author

sestinj commented Oct 15, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

released size:L This PR changes 100-499 lines, ignoring generated files. tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants