An assumed role is a temporary AWS identity created when a user, service, or other principal assumes an IAM role. It receives the permissions defined by that role and uses temporary security credentials, rather than permanently adopting the role’s identity. Trust policies determine who may assume a role; permission policies determine what the role can do.
Role assumption supports short-lived, scoped access for workloads and cross-account tasks, reducing reliance on long-lived access keys. It can also be abused if an attacker compromises a principal authorized to assume a powerful role or steals usable temporary credentials. In investigations, review AWS CloudTrail events for role assumptions and subsequent API calls, and compare the identity, source, and activity with expected behavior. Restrict trust relationships, grant only necessary permissions, and revoke or replace compromised credentials and access paths.


