Site logo
Authors
  • avatar Nguyễn Đức Xinh
    Name
    Nguyễn Đức Xinh
    Twitter
Published on
Published on

Setup Multi-factor authentication(MFA) for AWS IAM

Setup Multi-factor authentication(MFA) for AWS IAM

Use MFA to increase the security of your AWS environment. Signing in with MFA requires an authentication code from an MFA device

Steps

Step1: Access AWS IAM Service

https://us-east-1.console.aws.amazon.com/iamv2/home?region=ap-southeast-2#/home

Step2: Open the User tab

https://us-east-1.console.aws.amazon.com/iamv2/home?region=ap-southeast-2#/users

Step3: Click to the user you want to set MFA

E.g: xinhND-test <br /> https://us-east-1.console.aws.amazon.com/iamv2/home?region=ap-southeast-2#/users/details/xinhND-test?section=permissions

Step4: Click tab Security credentials

https://s3.ap-northeast-1.amazonaws.com/scontent.ducxinh.com/public/mfa-iam-1.jpg credentials

Step5: Click Assign MFA device button

Assign MFA device

Step6: Select MFA device

device name: xinhND-test <br /> Note: Enter a meaningful name to identify this device. <br />

Select MFA device: Authenticator app <br /> Note: In this tutorial, We use the Chrome extension Authenticator Select MFA device

Step7: Click Show QR code

Scan Qr code Scan Qr code

Step8: Open Authenticator app, then click Scan QR code to add the new one

Scan Qr code

Step9: Fill two consecutive codes from your MFA device

Scan Qr code Click Add MFA button

Step10: MFA device assigned successful

Scan Qr code

Conclusion

We've completed the setup of AWS IAM MFA. Hopefully, this topic has provided you with valuable information!