Per here:
@truell20 can we please also have support for using our aws creds? So we can access claude via aws/bedrock/claude-3?
client = AnthropicBedrock(
# Authenticate by either providing the keys below or use the default AWS credential providers, such as
# using ~/.aws/credentials or the “AWS_SECRET_ACCESS_KEY” and “AWS_ACCESS_KEY_ID” environment variables.
aws_access_key=“”,
aws_secret_key=“”,
# Temporary credentials can be used with aws_session_token.
# Read more at Temporary security credentials in IAM - AWS Identity and Access Management.
aws_session_token=“<session_token>”,
# aws_region changes the aws region to which the request is made. By default, we read AWS_REGION,
# and if that’s not present, we default to us-east-1. Note that we do not read ~/.aws/config for the region.
aws_region=“us-west-2”,
)