{"id":2270,"date":"2019-06-25T12:57:10","date_gmt":"2019-06-25T12:57:10","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=2270"},"modified":"2026-12-03T13:05:27","modified_gmt":"2026-12-03T13:05:27","slug":"aws-multi-factor-authentication-mfa","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/","title":{"rendered":"AWS IAM Multi-Factor Authentication (MFA)"},"content":{"rendered":"<h3><b>AWS IAM MFA: How to Enable MFA for IAM Users Step by Step<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">All types of AWS accounts including sub-accounts now require the root user to utilize multi-factor authentication. Therefore good knowledge of AWS IAM MFA is now fundamental for those who look after a cloud account. Implementation can be achieved in a few minutes and provides security for all assets that can be accessed via a login.<\/span><\/p>\n<p><b>\u26a1 QUICK ANSWER<\/b><\/p>\n<p><span style=\"font-weight: 400;\">MFA is a further layer of verification to a user logging into AWS. As well as a username and password, a user can input a code, or press a button on a pre-registered device (such as a mobile phone\/tablet) to verify their identity. Each user can register up to 8 devices for MFA.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Within this Tutorial we show you how to use AWS IAM Multi-Factor Authentication. Are you searching for the best provider to provide you with information and also looking to undertake the Advanced Certification Course from India\u2019s Leading AWS Training Institute? If so, then you have found the Right Path.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By following the below Tutorial, you can gain an in-depth understanding of AWS IAM Multi-Factor Authentication. Simply follow all India\u2019s Leading Best AWS Training Institute\u2019s Tutorials to become a Pro AWS Developer.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this article, you will learn:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">What is AWS multi-factor authentication?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Why use AWS multi-factor authentication?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">What do you need to implement multi-factor authentication?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">How to implement a virtual MFA device on an IAM user (console)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Which type of MFA should I use?<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Best practice and solving issues<\/span><\/li>\n<\/ul>\n<h3><b>What is AWS multi-factor authentication (AWS MFA)?<\/b><\/h3>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/IAM\/latest\/UserGuide\/id_credentials_mfa.html\">AWS multi-factor authentication (MFA)<\/a> is an extra security feature that can be implemented within your AWS environment. Both your AWS account and the IAM users that you create within your AWS account can have MFA implemented.<\/p>\n<h4><b>Introduction<\/b><\/h4>\n<h3><span style=\"font-weight: 400;\">With MFA implemented, when a user logs into an AWS website, they will be required to input:<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">\u2666 Their username and password (first factor \u2013 \u2018something known\u2019)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2666 An authentication code or press a button on their MFA device (Smartphone\/Tablet) (second factor \u2013 \u2018something owned\u2019) to authenticate. Combining these different factors greatly increases the security of both your AWS account and its assets.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12244 alignnone\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-300x169.png\" alt=\"How AWS MFA protects your login using two-factor authentication with a password and a second verification method.\" width=\"667\" height=\"376\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-300x169.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-1024x576.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-768x432.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png 1200w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/p>\n<p><b>AWS IAM Multi-Factor Authentication<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Amazon MFA provides further security. Those accessing AWS websites and services are required to input a unique authentication code (which can either be a one off password or access key). This code is generated via a permitted MFA device (for example, Smartphone\/Tablet) or received via a Short Message Service (SMS) text message.<\/span><\/p>\n<h2><b>Why use AWS multi-factor authentication?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">AWS utilizes MFA due to the excellent security that it offers. Benefits include:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Excellent security provision.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Fine-grained control.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">One-off credentials.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Versatile and secure credential provision.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Interoperability with AWS services.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Ability to utilise an external identity solution.<\/span><\/li>\n<\/ul>\n<h2><b>What do you need to implement multi-factor authentication?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u2666 Virtual MFA devices:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Mobile devices including Smartphones and tablets can be utilised as a virtual MFA device. There are various AWS compatible apps available to download onto a mobile device. These apps generate 6-figure authentication codes. There is no cost for this service.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Depending on your Smartphone operating system, you will need to install the relevant virtual MFA apps.<\/span><\/p>\n<p><strong>Permissions Required for AWS IAM MFA<\/strong><\/p>\n<p><b>PERMISSIONS NEEDED:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">To administer a virtual MFA device for an IAM user, the policy permissions must be set to allow authenticatedIAM Users to \u2018Manage\u2019 their own MFA Device.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2666Not only can you implement MFA on your AWS account, but also on specific IAM users that you have created within your AWS account group. Furthermore, MFA can be implemented to regulate access to AWS service APIs.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you have acquired a suitable U2F security key, hardware MFA device or virtual MFA device, there is no extra cost for implementing MFA on AWS.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2666Furthermore, MFA can also be used to secure inter-account access.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are 2 Amazon MFA device types \u2013 a Security Token and SMS Text Message.<\/span><\/p>\n<h3><b>Steps To enable a virtual MFA device for an IAM user (console)<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Below is a step-by-step guide to implement a virtual MFA device on an IAM user.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-12243 alignnone\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image2-2-300x169.png\" alt=\"AWS MFA best practices, including using a TOTP app, entering codes quickly, adding a backup device and following least privilege access.\" width=\"600\" height=\"338\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image2-2-300x169.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image2-2-1024x576.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image2-2-768x432.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image2-2.png 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Log into the AWS Management Console and subsequently onto the IAM console at https:\/\/console.aws.amazon.com\/iam\/<\/span><\/li>\n<\/ol>\n<p><strong>Step 1: Open the IAM Dashboard<\/strong><\/p>\n<p><strong>2: Select the IAM User<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Within the navigation panel, click on Users.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select the user name for whom the MFA device is to be implemented.<\/span><\/li>\n<\/ol>\n<p><strong>\u00a03: Open Security Credentials<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click on Security credentials. Next to the Assigned MFA device, click on Manage.<\/span><\/li>\n<\/ol>\n<p><strong>\u00a04: Configure the Virtual MFA Device<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Within the Manage MFA Device application, click on Virtual MFA device and then click on Continue.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Launch the virtual MFA app on your mobile device.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Check if your MFA app is able to recognise and scan a QR code. Either:<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Use the \u2018Show QR Code\u2019 function within the application to display the code. Then, for example, press on the camera icon within the app or select a \u2018Scan code\u2019 function to allow your mobile device to scan the displayed QR code (if your device is able to). Within the Manage MFA Device application, click on Show secret key and then input this secret key into your MFA app.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once completed, your virtual MFA device will begin producing authentication codes in the form of one off passwords.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Within the Manage MFA Device application, input the current one off password that is shown on your virtual MFA app into the MFA code 1 field. Then wait up to 30 seconds for your MFA device to produce a fresh one off password. Enter this second one off password into the MFA code 2 section (having first received it). Click on the Assign MFA button.<\/span><\/li>\n<\/ol>\n<p><b>Note:<\/b><span style=\"font-weight: 400;\"> It is essential that you complete the assignment process without delay following production of the one off passwords. Should there be too great a delay between creation of the one off passwords and assignment, although the MFA device will successfully be linked to the relevant user, the MFA device will become desynchronised due to time based one off passwords (TOTP) having a limited lifetime. Should this occur, you can attempt to re-link the MFA device.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your virtual MFA device is now ready for use.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2666In addition, it is also possible to implement a virtual MFA device on your AWS root user via the AWS Management Console.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In order to implement MFA devices for your AWS account, you must log into AWS as the root user (using your e-mail ID and password).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u2666It is not possible to implement a MFA device for the root user of your AWS account in the IAM console nor using the AWS CLI, AWS API or other command line tools.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Should your MFA device (Smartphone\/Tablet) be misplaced, stolen or malfunction, you can still log into AWS by using other authentication factors.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">I trust that through reading this article you have learnt how to implement a virtual MFA device (mobile device) for an IAM user and also gained knowledge of AWS Multi-factor authentication.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Last but not least, always ask for help!<\/span><\/p>\n<h2><b>AWS Two Factor Authentication Options: Which MFA Type to Pick<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Whilst previous tutorials and also previously mentioned SMS text message MFA still exist, AWS has now discontinued SMS text message MFA. Currently, there are 3 MFA device types available for implementation on IAM users (a maximum of 8 devices can be implemented per user):<\/span><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>MFA type<\/b><\/td>\n<td><b>How it works<\/b><\/td>\n<td><b>Good to know<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Passkey or security key<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Fingerprint, face, PIN or a USB key\u00a0 \u00a0 \u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Phishing resistant, and the type AWS recommends where possible\u00a0 \u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Virtual authenticator app\u00a0 \u00a0 \u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A phone app shows a six-digit code<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Free, and the usual choice for learners<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Hardware TOTP token<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A small device shows a code<\/span><\/td>\n<td><span style=\"font-weight: 400;\">AWS suggests security keys instead<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4><\/h4>\n<p>&nbsp;<\/p>\n<h4><\/h4>\n<h4><b>Two practical examples<\/b><\/h4>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">A developer implements a virtual authenticator app to log in on a daily basis and carries a security key in a drawer. Should their mobile device be misplaced, they can still log in with the security key.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A team leader includes a condition in an IAM policy which means that staff must use MFA during their sessions in order to perform actions such as database deletion which are of a sensitive nature.<\/span><\/span><\/li>\n<\/ul>\n<h2><b>MFA Best Practices and Troubleshooting<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Below are best practice guidelines to follow when implementing and using your AWS MFA authenticator app.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Download a TOTP compliant app such as Google Authenticator or Authy.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Input the two codes swiftly as warned above.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Also implement a secondary device \u2013 in case your mobile device is lost.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Multi-factor authentication is most effective when combined with the principle of least privilege.<\/span><\/span><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12242 alignnone\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image3-5-300x169.png\" alt=\"7 steps to enable virtual MFA for an AWS IAM user using an authenticator app.\" width=\"583\" height=\"329\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image3-5-300x169.png 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image3-5-1024x576.png 1024w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image3-5-768x432.png 768w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image3-5.png 1200w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/li>\n<\/ul>\n<h2><b>Conclusion<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Implementing MFA is one of the most economical methods of securing an AWS account. Simply log into the IAM console, select a user and allocate a device. Validation of two codes then occurs. Generally, the main issue in implementing MFA can be overcome by implementing a modern and a secondary MFA device.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><b>Frequently Asked Questions<\/b><\/h2>\n<p>&nbsp;<\/p>\n<h3><b>1. How do I implement MFA on AWS IAM users?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Log into the IAM console. Select Users and then the appropriate user. Next, open Security credentials and implement an MFA device. Select a virtual MFA app, scan the displayed QR code and then input 2 successive codes. The device can then be used to log in. On each login attempt, a code is requested.<\/span><\/p>\n<h3><b>2. Does AWS charge for MFA?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">No. There is no charge for implementing MFA on AWS. In addition, there is no cost to download virtual authenticator apps. However, you only need to pay if you choose to purchase a physical MFA device, such as a security key. Therefore, you can enable MFA without any initial cost.<\/span><\/p>\n<h3><b>3. Which MFA authenticator app should I use?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Any app which is TOTP compliant can be used. Popular apps for both Android and iOS mobile devices include Google Authenticator, Microsoft Authenticator, Authy and Duo Mobile. Select an app with which you are already familiar. Also, it is advisable to implement a secondary device so that you can still log in should your mobile device be lost.<\/span><\/p>\n<h3><b>4. Is it still possible to implement MFA via SMS text messages on AWS?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">No. Although some older resources continue to explain how to do so, AWS has now stopped supporting SMS text message MFA. Instead, implement a passkey\/security key, virtual authenticator app or hardware TOTP token. Again, passkeys and security keys offer the greatest anti-phishing protection.<\/span><\/p>\n<h3><b>5. How many MFA devices can an IAM user implement?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">An IAM user or root user can implement a maximum of 8 MFA devices. This may comprise a combination of different MFA types. Registering multiple devices provides a backup if one gets lost or damaged. However, you only need one functioning MFA device to log in.<\/span><\/p>\n<h3><b>6. What should I do if I lose my MFA device?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">If you have a second implemented device, then log in using this. Otherwise, utilise the recovery features available on AWS for MFA secured identities. Alternatively, contact an administrator to disable your lost MFA device and then implement a new one. Ideally, a secondary device should be implemented in advance to avoid this situation.<\/span><\/p>\n<h3><b>7. How do I implement MFA on the root user?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Login to AWS as the root user (using your e-mail ID and password). Then implement an MFA device by accessing the security credentials page. Since AWS requires MFA for the root user on all account types, enable it during the initial setup. Going forward, use IAM users for day-to-day tasks.<\/span><\/p>\n<h3><b>8. Why is my MFA code not working?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">As noted above, MFA codes are time dependent and so have a limited lifetime. Set your mobile phone to update its time automatically and enter each authentication code promptly. During setup, make sure you enter both codes without delay.Otherwise, your MFA device may become out of synchronisation. If this does occur, disable and then re-implement the MFA device.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS IAM MFA: How to Enable MFA for IAM Users Step by Step All types of AWS accounts including sub-accounts now require the root user to utilize multi-factor authentication. Therefore good knowledge of AWS IAM MFA is now fundamental for those who look after a cloud account. Implementation can be achieved in a few minutes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,1651],"tags":[1793,1794,1795],"class_list":["post-2270","post","type-post","status-publish","format-standard","hentry","category-aws","category-aws-identity-and-access-management-iam","tag-iam-for-beginners-a-comprehensive-guide","tag-mastering-aws-iam-policies","tag-securely-control-access-to-aws-resources-with-iam"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AWS IAM MFA: Enable MFA for IAM Users Step by Step<\/title>\n<meta name=\"description\" content=\"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS IAM MFA: Enable MFA for IAM Users Step by Step\" \/>\n<meta property=\"og:description\" content=\"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-25T12:57:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-12-03T13:05:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/\",\"url\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/\",\"name\":\"AWS IAM MFA: Enable MFA for IAM Users Step by Step\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-300x169.png\",\"datePublished\":\"2019-06-25T12:57:10+00:00\",\"dateModified\":\"2026-12-03T13:05:27+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png\",\"width\":1200,\"height\":675,\"caption\":\"How AWS MFA protects your login using two-factor authentication with a password and a second verification method.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS IAM Multi-Factor Authentication (MFA)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWS IAM MFA: Enable MFA for IAM Users Step by Step","description":"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/","og_locale":"en_US","og_type":"article","og_title":"AWS IAM MFA: Enable MFA for IAM Users Step by Step","og_description":"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.","og_url":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-06-25T12:57:10+00:00","article_modified_time":"2026-12-03T13:05:27+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png","type":"image\/png"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/","url":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/","name":"AWS IAM MFA: Enable MFA for IAM Users Step by Step","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5-300x169.png","datePublished":"2019-06-25T12:57:10+00:00","dateModified":"2026-12-03T13:05:27+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Learn AWS IAM MFA setup, enable MFA for IAM users, compare authentication methods, and troubleshoot common errors.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/image1-5.png","width":1200,"height":675,"caption":"How AWS MFA protects your login using two-factor authentication with a password and a second verification method."},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/aws-multi-factor-authentication-mfa\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"AWS IAM Multi-Factor Authentication (MFA)"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=2270"}],"version-history":[{"count":18,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2270\/revisions"}],"predecessor-version":[{"id":12251,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2270\/revisions\/12251"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=2270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=2270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=2270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}