How do you design IAM for a multi-account AWS landing zone?
BeginnerProductionIdentity, Least Privilege & OIDC for CI
Answer
- Accounts per environment and per workload, organised in OUs (Security, Infrastructure, Workloads/Prod, Workloads/Non-prod, Sandbox).
- A dedicated security/audit account as delegated admin for GuardDuty, Security Hub, Config, and a log archive account receiving the org CloudTrail.
- Humans log in once via IAM Identity Center and assume permission sets per account.
- Cross-account access via roles with external ID or org conditions, never shared keys.
- SCPs per OU (Control Tower or Terraform-managed).
Accounts are the strongest blast-radius boundary in AWS.
More on Identity, Least Privilege & OIDC for CI
How do you design AWS OIDC trust for GitHub Actions so only production deploys can assume the prod role?IntermediateWhat are the common mistakes in OIDC trust policies for CI?AdvancedHow do you configure OIDC for GitLab CI to AWS?IntermediateHow do you get from "everyone has AdministratorAccess" to least privilege without breaking things?AdvancedWhat SCP guardrails do you apply across an AWS organisation?IntermediateHow do you implement just-in-time (JIT) privileged access for production?Intermediate