Quizzes · Security · Level 0
iam:PassRole
The permission to hand an existing role to an AWS service.
Think of it as: Being allowed to lend your colleague's key card to a contractor.
What to know for Level 0
- Giving an existing role to a service (an execution role to Lambda, a monitoring role to RDS) needs
iam:PassRole on that role, on top of permission to create the resource.
More detail
When you launch an EC2 instance with an instance profile, or give Lambda an execution role, you are “passing” a role. You need iam:PassRole on that role. This stops someone with few permissions from launching a service with a powerful role and borrowing its power.
Quiz yourself on iam:PassRole →Study flash cards
← All quizzes