aws / aws/bedrock-agentcore-sdk-python
Support passing workload identity name to `require_access_token`
- Ngôn ngữ chính
- Python
- Star
- 761
- Fork
- 147
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 7
Mô tả
**Is your feature request related to a problem? Please describe.**
I want to use the 3LO flow with Identity outside of Runtime. As of now, this SDK falls back to the local auth settings expecting the `".agentcore.json"` which is not set by us. Hence, the SDK falls back to creating an Identity Workload but the agent's execution roles correctly gets an exception denied.
**Describe the solution you'd like**
I would like to use the decorator and pass the workload identity name. I would expect the decorator to get the workload access token and continue as is.
**Describe alternatives you've considered**
- Placing the `".agentcore.json"`
- Setting the `BedrockAgentCoreContext`
**Additional context**
Agent runs on Amazon ECS
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định triển khai Python của `require_access_token` và cách decorator xử lý `.agentcore.json` cùng `BedrockAgentCoreContext`. Theo dõi cách các access token của workload được chọn cho trường hợp sử dụng ECS/3LO. Hoàn thành khi decorator chấp nhận tên workload identity và sử dụng token của identity đó mà không yêu cầu các thiết lập xác thực cục bộ.
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
- authentication, cloud
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 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
- 45/100