Pcornel
Automation · Secrets & Credentials

Tokens

Cheat sheet · https://pcornel.dk/topic.php?topic=5892

Back to the Topic

Answer

Tokens are bearer or proof-bearing credentials whose security depends on issuer trust, audience, scopes/claims, lifetime, storage and validation at the target—not merely on the token string being accepted.

Remember

  • Token decodes ≠ token signature/trust valid.
  • Token valid ≠ token intended for this audience.
  • Access token short-lived ≠ refresh token low risk.
  • HTTP 2xx ≠ token had only intended privilege.

First checks

  • Token TTLs — short-lived
  • vault token lookup — TTL and policies
  • Workload identity/OIDC instead of static tokens — federation

Verify in this order

identity → token (short TTL) → API

Where it usually breaks

Token evidence proves issuer/relying-party behavior for captured claims and times; it does not prove every authorization decision or eliminate replay risk for stolen bearer material.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5892

Confirmation

Confirm action

Continue?