Support passing workload identity name to `require_access_token`

オープン
#237 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

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

調査の方向性

まず、require_access_token の Python 実装と、デコレーターによる .agentcore.json および BedrockAgentCoreContext の処理を見つけます。ECS/3LO のユースケースでワークロードアクセストークンがどのように選択されるかを追跡します。完了条件は、デコレーターがワークロード ID 名を受け取り、ローカルの認証設定を必要とせずにそのトークンを使用することです。

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

説明

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

主要言語
Python
スター
786
フォーク
163
平均マージ
4時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/bedrock-agentcore-sdk-python のほかの issue

aws/bedrock-agentcore-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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