Full boto-like credential configuration support

Open
#3 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, python
Domain
cloud

Research direction

Start with the linked service-clients README note and reproduce the credential error in the Nova Speech-to-Speech example. Check how aws_sdk_bedrock_runtime currently obtains credentials, then compare the expected standard CLI/boto3 discovery behavior for SageMaker and ECS. Done means supported configured AWS credentials are discovered without requiring AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Written by the indexing model from the issue text.

Description

credentials feature-request p2

Trying out a Nova Speech-to-Speech example today, I was surprised aws_sdk_bedrock_runtime didn't correctly pick up my configured AWS credentials - with the below error:

aws_sdk_bedrock_runtime.models.ServiceError: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are required

This note in the readme seems to suggest there's a known limitation here - but is there an expected timeline for this library to align to full standard CLI/boto3 credential discovery?

It was straightforward enough for me to work around on my corp laptop, but I'm worried that there are AWS environments e.g. SageMaker and ECS where AWS credentials are available and people might want to run this connector, but AFAIK these specific environment variables are not set?

Dominant language
Python
Stars
171
Forks
24
Avg merge
10h 47m
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-sdk-python

All issues in aws/aws-sdk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.