payments-api-agent (Deployment)
Pod starts, calls elevate. Cloudanix creates the
PodIdentityAssociation. Pod runs for hours, reads
S3, writes metrics. preStop calls
revoke — assoc deleted, cached STS killed.
⚠ SA-scope: payments-api · namespace payments · 1-per-workload → ✓ Enforced by Cloudanix boundary policy
elevate
create-association
scope granted cluster: prod-eks · ns: payments · sa: payments-api · policies: S3ReadOnly + KMSDecrypt · ttl: pod-lifecycle
spec:
serviceAccountName: payments-api
initContainers:
- { image: cloudanix/jit-init, args: ['elevate'] }
lifecycle:
preStop:
exec: { command: ['cloudanix-jit', 'revoke'] } ✓ Stamped agent → pod → SA → action ⛔ Immediate revoke · cached STS invalidated