Interview Prep/DevSecOps/Identity, Least Privilege & OIDC for CI

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.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Identity, Least Privilege & OIDC for CI