- 최신
- 최다 투표
- 가장 많은 댓글
Is your account part of a cross acount setup or organisation. Could be configured for the aws account?
Hi rePost-User-1949278,
I remember I had a similar issue a while ago. It was like a "ghost" MFA configuration. I recommend installing the AWS Cli (step-by-step in case you need it) and "digging" the user information from the CLI. Here are some commands that might help:
aws iam list-mfa-devices --user-name $YOUR_USER
If the command above retrieves any information like the following structure:
{
"MFADevices": [
{
"UserName": "YOUR_USER",
"SerialNumber": "arn:aws:iam::$account-number:mfa/YOUR_USER",
"EnableDate": "YYYY-MM-DDTHH:MIMSS"
}
]
}
You may delete the MFA bind to the the account with the aws iam delete-virtual-mfa-device --serial-number $VIRTUAL_DEVICE_ARN
command.
I hope this helps.
Best regards, Gabriel Bartholomeu
I tried this and interestingly the MFA device list was empty. I reset the password for this user and it doesn't ask for MFA code now. Maybe it was a temp bug on AWS for a brief time.
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전
No other IAM user is requested to provide an MFA code. I have verified the roles and do not see an MFA setting there.