IAM Flashcards

1
Q

ARNs

A

Amazon Resource Names
- uniquely identify resources

Starts with:

arn: partition:service:region:account_id:
ex: arn:aws:rds:us-east1:123456789012:

Can ends with:

  • resource
  • resource_type/resource
  • resource_type/resource/qualifier
  • resource_type:resource
  • resource_type:resource:qualifier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does :: mean in an ARN?

A

region omitted

- only works when the service doesn’t require a region, like IAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does * mean within an ARN?

A

wildcard

- for example, to denote all instances within a region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

IAM policies

A
  • ** If not explicitly allowed, it is implicitly denied
  • JSON doc that defines permissions
  • identity policies
  • resource policies
  • have no effect until applied to a group or user account
  • a policy doc is a list of statements that match an AWS API request
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Permission Boundaries

A
  • used to delegate administration to other users

- prevent privilege escalation or unnecessarily broad permissions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Permission Boundaries Use Cases

A
  • developers creating roles for lambda functions
  • application owners creating roles for EC2 instances
  • admins creating ad-hoc users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly