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'.
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
returnsassume-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'.