Enumerate what a stolen AWS key can actually do
Before escalating, map the identity's real permissions with low-noise calls to avoid dead ends and access-denied storms.
Before escalating, map the identity's real permissions with low-noise calls to avoid dead ends and access-denied storms.
iam.serviceAccounts.getAccessToken over a more privileged service account lets you mint its token and inherit its access.
If you can pass a more privileged role and create or invoke a function, you inherit that role's credentials.