Interview Prep/AWS/IAM Best Practices

What are the IAM rules you enforce for humans?

BeginnerProductionIAM Best Practices
Answer
  • No IAM users for people: all human access through IAM Identity Center backed by the corporate IdP (Okta, Entra ID, Google).
  • MFA enforced at the IdP, phishing-resistant (FIDO2) for admins.
  • Short sessions (1 to 8 hours) and role-based permission sets.
  • Production write access only through a separate, audited permission set or a just-in-time elevation flow.
  • Root user: hardware MFA, no access keys, used only for the handful of tasks that require it.
aws All AWS questions Roadmap: AWS core services

More on IAM Best Practices