IAM Policy Evaluation
IAM Permission Boundaries
- Supported for users and roles (not groups)
- Even a user has
Administrator Access
, these access can be restricted using theIAM Permission Boundaries
- This can be used as a combination of
Organization SCP
Evaluation Logic
- Couple of roles and policies we can define
- Deny Evaluation
- Organization SCP
- Resource Based Policy
- IAM Permission Boundaries
- Session Policy
- Identity Based Policy
- If there is any
Explicit Deny
the otherAllow
will be discarded
IAM Policy Evaluation Order
Command Line Options
: Override any other config. Used like--region
,--output
,--profile
etcEnvironment variable
CLI Credentials File
: Created byaws configure
and store in~/.aws/credentials
CLI Config File
: TODO: find diff betweenCLI Credentials File
andCLI Config File
Container Credentials
: Temporary credentials in the ECS Task containerInstance Profile Credentials
: IAM role attached to the instance