liveBook · Manning

Multifactor authentication

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

Multifactor authentication is an authentication method that requires evidence from multiple independent credential factors.

Multifactor authentication (MFA) strengthens sign-in by requiring a password plus temporary evidence from another credential factor. In AWS, use it to protect the account root user and IAM users from stolen or cracked passwords and access keys. section 5.3 section 5.3.1

Enable MFA through the AWS Management Console:

  • Open Security Credentials from the account name in the top navigation bar, then expand Multi-Factor Authentication. section 5.3.1
  • Choose Activate MFA and select Virtual MFA Device. section 5.3.1
  • Install a smartphone application supporting TOTP, scan the displayed QR code, and follow the enrollment instructions. section 5.3.1
  • Repeat the process for IAM users from IAM, Users, the selected user, Security Credentials, and Assigned MFA Device. section 5.3.4

Protecting AWS sign-in

After MFA is activated for the root user, signing in requires both the account password and a temporary token from the configured MFA device. Keep the token separate from the password; YubiKeys and hardware MFA tokens are also supported. section 5.3.1

Figure 5.5 Protect your AWS account root user with multifactor authentication (MFA).

Use the enrollment figure to follow the virtual MFA setup for the AWS account root user. section 5.3.1

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Defines MFA and provides console enrollment steps for root users and IAM users, without covering token internals.
Examples
Uses a smartphone TOTP application, QR-code enrollment, virtual MFA devices, YubiKeys, and hardware tokens.
What it assumes
Assumes access to an AWS account or IAM user and a TOTP-capable smartphone application or supported hardware device.
What you can do after
Operate/configure MFA for AWS root users and IAM users through the Management Console.
How it connects
Connects MFA with AWS IAM, root users, passwords, access keys, TOTP, and authentication devices.

Also explained in

Compare how 9 books explain multifactor authentication →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.