-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat!: change bedrock bearer token env variable to match AWS docs & boto3 convention #4152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ef43b24 to
955be91
Compare
|
@skamenan7 what do you think? |
955be91 to
878dc45
Compare
mattf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also update the provider data
878dc45 to
fc11126
Compare
|
@mattf I think we should keep the Python str variable named I've updated the |
fc11126 to
e2a0b28
Compare
the way ProviderDataValidators are used is to parse user input provided via an so users will send requests like - if aws is not consistent in its terminology, at least let us be consistent with the term we choose. |
|
Thanks for explaining that. boto3 itself respects Eventually I could foresee a higher-level workflow that transforms I can support the decision to rename this all the way in LLS for clarity. |
4adcd2b to
83b5868
Compare
|
Hi @ktdreyer, LGTM, thanks. Yes having one field name will be helpful in my opinion too. Especially the name which we export/env variable to be the same in the code too. |
Rename AWS_BEDROCK_API_KEY to AWS_BEARER_TOKEN_BEDROCK to align with the naming convention used in AWS Bedrock documentation and the AWS web console UI. This reduces confusion when developers compare LLS docs with AWS docs. Also rename the Python field aws_bedrock_api_key to aws_bearer_token_bedrock throughout the codebase for consistency.
83b5868 to
0a04e62
Compare
|
What should I do next to merge this? |
Rename
AWS_BEDROCK_API_KEYtoAWS_BEARER_TOKEN_BEDROCKto align with the naming convention used in AWS Bedrock documentation and the AWS web console UI. This reduces confusion when developers compare LLS docs with AWS docs.Closes #4147