🪙 feat: Add Support for new AWS Bedrock API Keys#8690
Draft
dustinhealy wants to merge 1 commit intodevfrom
Draft
🪙 feat: Add Support for new AWS Bedrock API Keys#8690dustinhealy wants to merge 1 commit intodevfrom
dustinhealy wants to merge 1 commit intodevfrom
Conversation
…entials. (Still needs to implement user_provided bearer token support, but the UI is there for it) - Added support for user-provided AWS credentials (Access Key ID, Secret Access Key, Session Token, Bearer Token) in the Bedrock endpoint configuration. - Localized new strings for Bedrock configuration in translation files.
|
@dustinhealy Is this ready for review? |
Owner
|
this one should be merged first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary -- Work In Progress (just UI)
This PR enhances UI support for Bedrock credentials, including the new AWS Bedrock Bearer Tokens https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys-use.html
Core Features
Frontend Changes: Bedrock Credentials UI
SetKeyDialogandBedrockConfigcomponents. [1] [2]DialogManager.tsxto pass relevantuserProvideflags for Bedrock credentials. [1] [2]Backend Changes: Placeholder for Bedrock Credential Handling
EndpointService.jsto prepare for future backend logic to handle Bedrock credentials.userProvideAccessKeyId,userProvideSecretAccessKey,userProvideSessionToken,userProvideBearerToken) to thegetEndpointsConfigfunction to facilitate credential detection.Localization Updates
translation.json.Change Type
Details & Change Breakdown
1. Server-Side Refactor (
EndpointService.jsandgetEndpointsConfig.js)getEndpointsConfigto include user-provided credentials properties for Bedrock.2. Client-Side Refactor
MCPPanel.tsxandSetKeyDialog.tsx: Added input fields and translations for various Bedrock credentials.DialogManager.tsx: Updated user-provided credential flags for Bedrock.3. Localization Updates
translation.json.Testing
BEDROCK_AWS_ACCESS_KEY_ID,BEDROCK_AWS_SECRET_ACCESS_KEY, andBEDROCK_AWS_SESSION_TOKENallowed user to successfully send and receive queries in chat.Checklist