aws / aws/aws-sdk-python

Full boto-like credential configuration support

Đang mở
#3 7 bình luận 1 reaction 0 người được giao Xem trên GitHub
credentials feature-request p2
Ngôn ngữ chính
Python
Star
169
Fork
19
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
11

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với ghi chú README của service-clients được liên kết và tái hiện lỗi thông tin xác thực trong ví dụ Nova Speech-to-Speech. Kiểm tra cách aws_sdk_bedrock_runtime hiện lấy thông tin xác thực, sau đó so sánh với hành vi khám phá tiêu chuẩn dự kiến của CLI/boto3 cho SageMaker và ECS. Hoàn thành khi các thông tin xác thực AWS được cấu hình và được hỗ trợ được khám phá mà không yêu cầu AWS_ACCESS_KEY_ID và AWS_SECRET_ACCESS_KEY.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, python
Lĩnh vực
cloud
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.