aws / aws/bedrock-agentcore-sdk-python
Support passing workload identity name to `require_access_token`
- 主要语言
- Python
- 星标
- 761
- 派生
- 147
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 7
描述
**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
贡献指南
调研方向
首先定位 `require_access_token` 的 Python 实现,以及装饰器对 `.agentcore.json` 和 `BedrockAgentCoreContext` 的处理方式。跟踪 ECS/3LO 用例中如何选择工作负载访问令牌。完成标准是装饰器接受工作负载身份名称,并使用其令牌,而不要求本地身份验证设置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- aws, python
- 领域
- authentication, cloud
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100