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
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