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

How do you manage human access to dozens of AWS accounts in production?

BeginnerProductionIdentity, Least Privilege & OIDC for CI
Answer

IAM Identity Center federated with the corporate IdP (Okta, Entra ID), with access defined as permission sets assigned to IdP groups per account. No IAM users for humans.

  • Permission sets map to job functions: ReadOnly, Developer, PlatformAdmin, BreakGlass.
  • Session duration 1–4 hours; MFA enforced by the IdP.
  • Group membership is managed through joiner/mover/leaver automation (SCIM provisioning), so access disappears when HR offboards someone.
  • Assignments live in Terraform (aws_ssoadmin_account_assignment) so every change is reviewed.
aws configure sso   # once per laptop
aws sso login --profile prod-readonly
All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Identity, Least Privilege & OIDC for CI