Interview Prep/AWS/IAM, Organizations and Multi-Account

An engineer left the company. How do you make sure nothing of theirs still works?

IntermediateScenarioIAM, Organizations and Multi-Account
Answer

Situation read → Offboarding is easy if identity is centralized, hard if they created IAM users or keys.

What I'd do →

  1. Disable the user in the IdP, which kills SSO sessions into every account
  2. Run the credential report to find any IAM users or keys: aws iam get-credential-report
  3. Search for roles they created with trust to personal accounts
  4. Rotate any shared secrets they knew
  5. Check CloudTrail for the user's actions the final week

Why → Central IdP removal handles 95 percent of access; the remainder is the shadow credentials.

Interview tip → Mention periodic IAM Access Analyzer external-access findings.

aws All AWS questions Roadmap: AWS core services

More on IAM, Organizations and Multi-Account