payments-api-agent (EKS pod)
Pod boots, calls elevate. Reads its receipts bucket
for the lifetime of the workload. preStop
hook calls revoke. SA loses access — even
cached STS tokens.
⚠ Pod Identity binds at SA level · 1 SA per workload → ✓ Enforced by Cloudanix policy
SDK elevate
Pod Identity Association
scope granted cluster: prod · ns: payments · sa: payments-api · policy: S3ReadOnly · ttl: pod-lifecycle
◎ elevate · agent: payments-api-agent
✓ Pod Identity Association created at 10:14:02
✓ Pod reads s3://pmt-receipts/ for ~6h
◎ preStop hook fires at 16:32:11
✓ revoke() called · association deleted · cached tokens invalidated
✓ Stamped agent → pod → SA → action ⛔ Immediate revoke · no 1-hour STS hangover