aws / aws/bedrock-agentcore-sdk-python
Support passing workload identity name to `require_access_token`
- Vorherrschende Sprache
- Python
- Sterne
- 761
- Forks
- 147
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
**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
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Python-Implementierung von `require_access_token` und die Verarbeitung von `.agentcore.json` und `BedrockAgentCoreContext` durch den Decorator zu finden. Verfolge, wie Workload-Zugriffstoken für den ECS/3LO-Anwendungsfall ausgewählt werden. Die Aufgabe ist abgeschlossen, wenn der Decorator einen Workload-Identitätsnamen akzeptiert und dessen Token verwendet, ohne lokale Authentifizierungseinstellungen zu erfordern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, python
- Bereich
- authentication, cloud
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100