Adding multiple MFA devices to AWS user account I wanted to use more than one device for MFA. Well, once I was abroad and my phone broke for some time. My phone had MFA setup for the AWS account. Then I was locked out and couldn't log in to AWS without having the phone. This made me wanted to keep more than one MFA device. However, AWS doesn't really allow you to add more than one device. It is to note that we always use virtual MFA devices and that is also the trick to do this. I haven't tried this with hardware devices though. Just to be clear a virtual MFA allows us to set up an MFA application such as Google Authenticator or Microsoft Authenticator etc. The Workaround The trick is to use the same QR code to add another device. Also, this can be done using the secret too. When the first device is added, keep the QR code (maybe take a screenshot and then add another MFA device. Scan the same QR code with the next device or enter the secret key. The same pin num...
Just another tech blog, also my personal blog. I'll be posting interesting articles about tech, programming and tricks, dev life, and any timely topics.