Leaked AWS key unauthorized access
Your task
At 02:14 UTC GitHub's secret-scanning partner alert fires: a long-lived AWS access key (AKIA...) for the prod 'data-pipeline' IAM user was pushed to a public repo 40 minutes ago in a commit by a contractor. CloudTrail now shows that same key making GetCallerIdentity, then ListBuckets, then GetObject calls from an IP in a hosting ASN you've never seen, ~9 minutes ago. GuardDuty has a 'UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration' finding pending. The key has AdministratorAccess via an attached policy. How do you triage, contain, and remediate?
It covers
- Leaked aws keys
- Github secret scanning