Closed csigritz closed 6 years ago
Seems that a "default" entry in ~/.aws/credentials
is needed. Changed one of the entries to default and changed the source_profile accordingly. Now assuming the role works as exspected... Sorry for opening an issue caused by some configuration errors.
I am using awsume with multiple profiles. Some of them need MFA, some not. Also i am using awsume within virtualenv.
awsume Version:
I am getting errors when trying to assume a role which does not need MFA. For Roles using MFA no problem occurs.
This is what i get when using a non MFA Profile:
Before running the awsume command no AWS Environments (Credentials, Tokens) have been set.
This is my config:
~/.aws/credentials
~/.aws/config
The MFA ones work all the time. The ones without MFA fail. Using the profiles with AWS-CLI works as exspected
Somebody any idea what I'm doing wrong? Thanks.