1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
I am just working on a container that ran into exactly the same issue. I made an assume role and added the credentials directly to the invocation of a third party lib. In the moment where the credentials timed out, all calls failed.
I found this merge request https://github.com/boto/botocore/pull/1313!
Now, I created a profile with the EcsContainer source:
[profile crossaccount]
role_arn="${CROSS_ACCOUNT_ROLE_ARN}"
credential_source=EcsContainer
I pass this profile to the 3rd party lib instead. Under the hood, this profile is registered in the credentials provider chain which solves the issue.
Best regards
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 9 mois
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 25 jours
- AWS OFFICIELA mis à jour il y a 3 ans