Part 1: Logging into Your AWS IAM Account
- Open the IAM Sign-In Page
- Visit the AWS IAM login URL provided by your administrator, typically in the format:
https://<account-alias>.signin.aws.amazon.com/console
- If you don't have an alias, the generic IAM login link is:
https://signin.aws.amazon.com/console
- Enter IAM Credentials
- Account ID or alias: Enter your organization's AWS account ID or alias.
- IAM user name: Enter your IAM username.
- Password: Enter your password.
- Click “Sign In” to access the AWS Management Console.
Part 2: Setting Up MFA
- Open the IAM Console
- After login, go to the IAM Console by searching “IAM” in the AWS Console search bar or directly visiting:
https://console.aws.amazon.com/iam/
- Access Your User Security Credentials
- In the top-right corner, click your username > "Security credentials".
- Alternatively, in the IAM Console, go to "Users", then click your username and select the "Security credentials" tab.
- Set Up MFA
- Find the "Multi-factor authentication (MFA)" section.
- Click "Assign MFA device".
- Choose MFA Device Type
- Select "Virtual MFA device" (recommended) and click “Continue”.
- This will allow you to use an app like:
- Google Authenticator
- Authy
- Duo Mobile
- 1Password
- Microsoft Authenticator
- Configure Your MFA Device
- Open your MFA app and choose the option to scan a QR code.
- Use your phone or other device to scan the QR code displayed in the AWS Console.
- The app will start generating 6-digit codes.
- Enter MFA Codes
- Back in the AWS Console, enter two consecutive MFA codes generated by your app.
- Example:
- Code 1: 123456
- Wait for the app to refresh (30 seconds), then enter:
- Code 2: 654321
- Finish Setup
- Click “Assign MFA”.
- You’ll see confirmation that MFA has been successfully assigned to your user.
Part 3: Testing MFA
- Log Out of the Console
- Click your username in the top-right > “Sign Out”.
- Log Back In
- Go to the same IAM login URL.
- Enter your credentials as before.
- You will now be prompted to enter the MFA code from your app after entering your password.