We want to use the support of credential_process in awsume in combination with our virtual mfa. The following config file is working fine, when using credential_process with aws cli directly:
When we awsume into accountb, we get the following error without asking for an MFA code:
Awsume error: An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::xxxxxxxxxxxx:mfa/kb is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::yyyyyyyyyyyyy:role/MySuperRole
We want to use the support of
credential_process
in awsume in combination with our virtual mfa. The followingconfig
file is working fine, when usingcredential_process
with aws cli directly:When we
awsume
intoaccountb
, we get the following error without asking for an MFA code:Awsume error: An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::xxxxxxxxxxxx:mfa/kb is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::yyyyyyyyyyyyy:role/MySuperRole