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

How do you get from "everyone has AdministratorAccess" to least privilege without breaking things?

AdvancedProductionIdentity, Least Privilege & OIDC for CI
Answer
  1. Move humans to SSO (IAM Identity Center) with role-based permission sets; remove IAM users.
  2. Use CloudTrail data and IAM Access Analyzer policy generation to draft policies from actual usage over 90 days.
  3. Use last-accessed information and the unused access analyzer to remove unused services and roles.
  4. Introduce guardrails first (SCPs denying dangerous actions) so the blast radius shrinks even before fine-grained policies.
  5. 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.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Identity, Least Privilege & OIDC for CI