Skip to main content

Distinguish worker credentials from run tokens

Status: Ready

Article ID: 062

Truth label: Current

Audience: Fleet operator

Reader outcome: Distinguish fleet identity from claim-bound result authority.

Related articles: 033, 052, 061

Target week: 25

Last verified: 2026-09-13

Technical reviewer: Codex security source audit

Editorial reviewer: Codex editorial audit

Separate the actors​

A worker credential identifies one registered fleet service. A run token gives that worker authority for one claimed task attempt. Central is the issuer and verifier. The execution child is not supposed to become either principal.

Protect the worker identity​

First registration mints a random token. Central stores its SHA-256 hash, while the worker keeps the original credential in its local credential store. Credentialed re-registration, heartbeat, polling, claim, and scope resolution verify that token.

Bind authority to the attempt​

A credentialed claim returns a separate run token bound to task ID and fence. Lease renewal and result delivery verify it when a credential row exists. A stale attempt cannot use an old run token to replace a newer terminal result.

Apply the safe-use rule​

Restrict the credential file with operating-system permissions. Never paste a worker or run token into task text, logs, examples, or source control. Revoke and re-register an identity if its credential may have escaped.

Current limits​

Worker identity and run authority do not create a separate operator principal. Task-scope resolution still has a run-binding gap documented in the security model. Tokens also do not isolate files, processes, or network access on a host.

Next lesson​

Continue with Why provider-key distribution is opt-in.

Derivative map​

  • Weekly package: WEEK-25
  • Long video: VIDEO-W25-LONG
  • Shorts: SHORT-W25-PROBLEM, SHORT-W25-MECHANISM, SHORT-W25-WARNING
  • Email: EMAIL-W25
  • LinkedIn: LI-W25-A, LI-W25-B
  • X: X-W25-A, X-W25-B
  • Visual: VISUAL-W25

Review record​

  • Worker, Central, run, and child-process actors identified.
  • Token minting, hashing, binding, and verification checked against current source.
  • Operator-authority and scope-binding gaps remain explicit.
  • Secret-handling and internal links reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13