The "root" user account should have hardware MFA enabled
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。
Description
The root
user account is the most privileged user in an AWS account. MFA adds an extra layer of protection on top of a username and password. When a user signs in to an AWS website that has MFA enabled, they are prompted for their username and password, as well as an authentication code from their AWS MFA device. For Level 2, it is recommended that the root
user account be protected with a hardware MFA.
Rationale
A hardware MFA has a smaller attack surface than a virtual MFA. For example, a hardware MFA does not suffer the attack surface introduced by the mobile smartphone on which a virtual MFA resides.
Note: Using a single hardware MFA for large numbers of AWS accounts may create a logistical device management issue. If this is the case, consider implementing the Level 2 recommendation selectively to the highest security AWS accounts and the Level 1 recommendation to the remaining accounts.
Complete the following task to establish a hardware MFA for the ‘root’ user account:
From the console
- Log in to the IAM console.
Note: To manage MFA devices for the AWS ‘root’ user account, you must use your
root
account credentials to sign in to AWS. You cannot manage MFA devices for the ‘root’ account using other credentials. - Click
Dashboard
, and then under Security Status
, expand Activate MFA
on your root account. - Click Activate MFA.
- In the wizard, select A hardware MFA device and then click Next Step.
- In the
Serial Number
box, enter the serial number that is found on the back of the MFA device. - In the
Authentication Code 1
box, enter the six-digit number displayed by the MFA device. You might need to press the button on the front of the device to display the number. - Wait 30 seconds while the device refreshes the code, and then enter the next six-digit number into the
Authentication Code 2
box. You might need to press the button on the front of the device again to display the second number. - Click
Next Step
. The MFA device is now associated with the AWS account. The next time you use your AWS account credentials to sign in, you must type a code from the hardware MFA device.
References
- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html
- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_physical.html#enable-hw-mfa-for-root