Logging into AWS IAM and Setting Up MFA

Logging into AWS IAM and Setting Up MFA

Part 1: Logging into Your AWS IAM Account

  1. 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


  1. 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.


  1. Click “Sign In” to access the AWS Management Console.


Part 2: Setting Up MFA

  1. 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/


  1. 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.


  1. Set Up MFA


  • Find the "Multi-factor authentication (MFA)" section.
  • Click "Assign MFA device".


  1. 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


  1. 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.


  1. 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


  1. Finish Setup


  • Click “Assign MFA”.
  • You’ll see confirmation that MFA has been successfully assigned to your user.


Part 3: Testing MFA

  1. Log Out of the Console


  • Click your username in the top-right > “Sign Out”.


  1. 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.



    • Related Articles

    • AWS AdministratorAccess IAM Account – Security Guidelines

      If you are being granted an IAM login with AdministratorAccess, this provides full control over the AWS environment. To ensure the security of the infrastructure, you must follow these rules: Enable Multi-Factor Authentication (MFA) Immediately - ...