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 Denythe otherAllowwill be discarded
IAM Policy Evaluation Order
Command Line Options: Override any other config. Used like--region,--output,--profileetcEnvironment variableCLI Credentials File: Created byaws configureand store in~/.aws/credentialsCLI Config File: TODO: find diff betweenCLI Credentials FileandCLI Config FileContainer Credentials: Temporary credentials in the ECS Task containerInstance Profile Credentials: IAM role attached to the instance