MFA即:Multi-factor authentication (MFA)

 

今天在为自己账号Activate MFA时报错,如下图所示:

Activate MFA报错:MFADevice entity at the same path and name already exists

Entity already exists
This entity already exists. Learn more
MFADevice entity at the same path and name already exists. Before you can add a new virtual 
MFA device, ask your administrator to delete the existing device using the CLI or API.

原因,应该是之前创建时,没有完成~,但实际已经有记录了,需要联系管理员通过cli的方式进行处理,

 

解决方法如下>>>>>>>>:

1、先列出virtual-mfa-devices,通过aws cli的方式:aws iam list-virtual-mfa-devices

Activate MFA报错:MFADevice entity at the same path and name already exists

2、然后再删除指定的 SerialNumber 即可,如上图,这里我们删除user02的SerialNumber 

aws iam delete-virtual-mfa-device --serial-number "arn:aws:iam::25xxxxxxxxxx:mfa/user02"

3、这样再到页面上就可以重新激活MFA功能了(可以通过okta verify软件进行扫描,需要输入2次的6位验证码,就可以完成MFA绑定)

 

 

尊重别人的劳动成果 转载请务必注明出处:https://www.cnblogs.com/5201351/p/15314525.html

 

相关文章:

  • 2021-04-26
  • 2022-12-23
  • 2021-09-20
  • 2021-10-10
  • 2022-12-23
  • 2021-06-23
  • 2021-07-22
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2021-05-19
  • 2021-12-23
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
相关资源
相似解决方案