aws / aws/bedrock-agentcore-sdk-python
Support passing workload identity name to `require_access_token`
- Langage dominant
- Python
- Étoiles
- 761
- Forks
- 147
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 7
Description
**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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par localiser l’implémentation Python de `require_access_token` ainsi que la gestion de `.agentcore.json` et de `BedrockAgentCoreContext` par le décorateur. Suivez la manière dont les jetons d’accès de workload sont sélectionnés pour le cas d’utilisation ECS/3LO. C’est terminé lorsque le décorateur accepte un nom d’identité de workload et utilise son jeton sans nécessiter de paramètres d’authentification locaux.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, python
- Domaine
- authentication, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100