Short answer: Sign in to the AWS console, open Security credentials, choose Assign MFA device, pick Authenticator app, scan the QR code with 2Fa Live and enter two consecutive codes.
Last verified 19 November 2026 against the vendor's official help page. Menu names can change, so follow the labels on your screen if they differ.
Before you start
- Access to the AWS Management Console; for the root user AWS says the console is the only supported route and the CLI or API cannot register a root MFA device.
- AWS ended support for enabling SMS MFA, and recommends passkeys or security keys as stronger options.
- 2Fa Live open in a browser on the device that will hold your codes.
Steps
- Open Security credentials. Sign in to the console and open Security credentials from the account menu.
- Assign an MFA device. Choose Assign MFA device and pick Authenticator app.
- Scan with 2Fa Live. Scan the QR code with 2Fa Live, or enter the secret key manually. Save the QR code or key securely.
- Enter two consecutive codes. Enter two consecutive one-time codes from 2Fa Live and submit them promptly.
- Register a second device. Register more than one MFA device; AWS allows up to eight per root user or IAM user.
Scan with 2Fa Live
When AWS (Amazon Web Services) shows its QR code, open 2Fa Live and add a new account by scanning it. The QR code reader page can read the code for you. If you cannot scan, choose manual entry and type the setup key (also called the secret key) that AWS (Amazon Web Services) displays, then give the entry a clear label so you can tell your accounts apart.
Finish by typing the 6-digit code that 2Fa Live shows back into AWS (Amazon Web Services). TOTP codes are time-based and change every 30 seconds by default, so enter the current one. 2Fa Live stores your secrets encrypted in your browser only; nothing is sent to a server.
Backup codes and recovery
AWS advises saving the QR code or secret key securely, or registering more than one MFA device, because a virtual MFA device can become unavailable if you lose the phone that hosts it. You can reuse the QR code and key to reconfigure a device.
2Fa Live keeps your data in this browser only, so clearing site data or switching browsers removes your accounts. Create a local backup from the Data Management section after each new account, and store it away from the device you use every day.
Troubleshooting
- If you submit the codes too late the device is associated but out of sync; AWS lets you resync it.
- Sign-in problems with a lost MFA device have their own AWS recovery article.
- If every code is rejected, set your device date and time to automatic and use the next code: TOTP depends on the clock.
- Check that you are copying the code from the AWS (Amazon Web Services) entry in 2Fa Live, not another account.
Source: AWS (Amazon Web Services) official help page. Official AWS IAM User Guide pages read from the search excerpt (direct fetch not attempted).