python-sqs-listener
python-sqs-listener copied to clipboard
Unnecessarily fails when AWS credentials method is 'assume-role-with-web-identity'
In EKS environments, each container on a single host can have its own credentials. Authentication is supported via a mechanism of 'serviceAccounts' (a kubernetes term).
boto3.Session().get_credentials().method returns assume-role-with-web-identity which is another form of iam role based credentials.
Current implementation only allows iam-role, assume-role but not 'assume-role-with-web-identity'.
is there any update on this issue? I have the exact same problem @jegesh
https://github.com/jegesh/python-sqs-listener/pull/57/files