IAM (Identity and Access Management) is the AWS service that controls authentication and authorisation across an account: which users, roles, and services can perform which actions on which resources. Misconfigured IAM is one of the most common root causes of both security incidents and operational headaches during migration, since overly broad permissions granted for expediency during a project rarely get tightened up afterward.