aws / aws/bedrock-agentcore-sdk-python
Support passing workload identity name to `require_access_token`
- Lingua principale
- Python
- Stelle
- 761
- Fork
- 147
- Merge medio
- 1g 23h
- PR unite (30g)
- 7
Descrizione
**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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando l'implementazione Python di `require_access_token` e la gestione di `.agentcore.json` e `BedrockAgentCoreContext` da parte del decoratore. Traccia il modo in cui vengono selezionati i token di accesso del workload per il caso d'uso ECS/3LO. Il lavoro è completato quando il decoratore accetta un nome di identità del workload e usa il relativo token senza richiedere impostazioni di autenticazione locali.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, python
- Ambito
- authentication, cloud
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100