How to enforce MFA for AWS IAM users
A password alone protects nothing once it leaks. These steps require MFA across your AWS users.
Steps
- Enable MFA on the root account first, then lock the root credentials away.
- Attach an IAM policy that denies all actions unless aws:MultiFactorAuthPresent is true.
- Have each user register a virtual or hardware MFA device under My security credentials.
- Better still, move humans to IAM Identity Center (SSO) with MFA enforced centrally.
How to verify
- The IAM credential report shows mfa_active=true for every user.
- A user without MFA is denied by the policy.
FAQ
- SMS or an authenticator app?
- Prefer an authenticator app or hardware key — SMS can be intercepted. Hardware (FIDO2) is strongest.
Have SkyShield check this for you
SkyShield finds this across every server and cloud account and shows the fix in plain words. Free for one server, then from $49 per server a month. Start free.