aws / aws/aws-sdk-python

Full boto-like credential configuration support

オープン
#3 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る
credentials feature-request p2
主要言語
Python
スター
169
フォーク
19
平均マージ
1日 20時間
マージ済み PR(30日)
11

説明

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](https://github.com/awslabs/aws-sdk-python/blob/0090493b47493aea886c10ee9626755b36481f12/dev-guide/service-clients.md?plain=1#L21) 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-environment-variables.html) where AWS credentials are available and people might want to run this connector, but AFAIK these specific environment variables are not set?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
cloud
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。