Complete a 3 Question Survey and Earn a re:Post Badge
Help improve AWS Support Official channel in re:Post and share your experience - complete a quick three-question survey to earn a re:Post badge!
CLI命令“aws iam list-mfa-devices”不能返回属于帐户根用户的MFA设备
0
【以下的问题经过翻译处理】 AWS CLI命令aws iam list-mfa-devices似乎无法返回属于账户根用户的MFA设备。
aws iam list-mfa-devices --user-name root
An error occurred (NoSuchEntity) when calling the ListMFADevices operation: The user with name root cannot be found.
然而,CLI命令aws iam list-virtual-mfa-devices确实返回属于账户根用户的虚拟MFA设备。