Information
Multi-Factor Authentication (MFA) adds an extra layer of authentication assurance beyond traditional credentials. With MFA enabled, when a user signs in to the AWS Console, they are prompted for their username and password as well as an authentication code from their physical or virtual MFA device. It is recommended that MFA be enabled for all IAM users that have a console password.
Enabling MFA increases security for console access by requiring the authenticating principal to possess a device that generates a time-sensitive authentication code, in addition to their credentials.
Solution
Perform the following to enable MFA:
From Console:
- Sign in to the AWS Management Console and open the IAM console at 'https://console.aws.amazon.com/iam/'
- In the left pane, select Users.
- Select the IAM user
- Choose the Security credentials tab
- Under Multi-factor authentication (MFA), select Assign MFA device
- Select Virtual MFA device (or hardware/security key as applicable), then choose Continue
- Configure the MFA device by:
- Scanning the QR code, or
- Entering the secret key manually
- Enter two consecutive authentication codes
- Select Assign MFA
Impact:
Without MFA, IAM user accounts with console access are more susceptible to credential compromise, potentially leading to unauthorized access to AWS resources.