How do you get from "everyone has AdministratorAccess" to least privilege without breaking things?
AdvancedProductionIdentity, Least Privilege & OIDC for CI
Answer
- Move humans to SSO (IAM Identity Center) with role-based permission sets; remove IAM users.
- Use CloudTrail data and IAM Access Analyzer policy generation to draft policies from actual usage over 90 days.
- Use last-accessed information and the unused access analyzer to remove unused services and roles.
- Introduce guardrails first (SCPs denying dangerous actions) so the blast radius shrinks even before fine-grained policies.
- Tighten in stages per team, with a fast path to request extra permissions.
Trying to write perfect policies up front stalls; data-driven reduction works.
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?IntermediateWhat SCP guardrails do you apply across an AWS organisation?IntermediateHow do you implement just-in-time (JIT) privileged access for production?IntermediateHow do you design IAM for a multi-account AWS landing zone?Beginner