iam:PassRole

The IAM permission needed to hand a role to an AWS service, such as an EC2 instance or a Lambda function, so it runs with that role.

PassRole on a powerful role lets someone run code with that role's permissions through a service.

In more detail

PassRole is how many escalation paths work: with lambda:CreateFunction and lambda:InvokeFunction, a user can run code as any role they can pass. Limit it to specific role ARNs.

Related terms

Taught in

References