gha-deploy-agent
GitHub Actions step pulls an OIDC token from
GitHub, exchanges it with Cloudanix for short-lived
elevation. Zero long-lived secrets in the repo.
⚠ OIDC mode · no static creds in the repo → ✓ Per-workflow elevation, audited to commit
uses: cloudanix/jit-elevate
OIDC token swap
scope granted policy: S3-DeployBundle · ttl: 10m · repo: org/my-app · pr: 91 · sha: a7c1f24
- uses: cloudanix/jit-elevate@v1
with:
policy: 'S3-DeployBundle'
ttl: '10m'
- run: aws s3 sync ./build s3://prod-assets/ ✓ Stamped run-id → commit → PR → policy ⛔ Auto-revoke on job completion