Closed scottbrown closed 6 years ago
Related issue upstream: https://github.com/aws/aws-sdk-js/issues/1543
There's some code on another issue that points at a way to resolve the issue with a call to aws.SharedIniFileCredentials
followed by aws.TemporaryCredentials
https://github.com/aws/aws-sdk-js/issues/1064
I'm working on a fix for this. We'll also need to cover AssumeRoleArn
, in which case the mfa serial number will need passing in as it won't be in ~/.aws/credentials
.
James and I came up with a solution in #119.
Another solution it to have the SDK prompt user for the MFA token as per https://github.com/aws/aws-sdk-js/pull/2126
This is resolved.
iidy does not support the functionality of MFA requirements on role assumptions (
--profile
in AWS CLI parlance). This is used to enforce role assumptions constraints when working with escalated IAM role privileges or working in a multi-account structure.will return an STS assume role error.