Require signed approvals
Verify an approver’s signature before resuming a gated workflow.
Use signed decisions when your workers must verify proof from an approval service. First create an approval gate and checkpoint; set authentication: "signed" on that gate. The signing service owns the private key, and workers receive only the public keys.
Require a signed decision
Section titled “Require a signed decision”With authentication: "signed" on the gate, a decision needs an Ed25519 signature from a key bound to its actor. Only your signing service holds private keys; keep them out of worker sandboxes.
The signature covers every decision field plus keyId and expiresAt. Each WorkflowApproverKey binds a keyId to one actor and its publicKey.
Expiry is checked against the worker clock, so keep the signing service and workers in time sync. Altered or expired decisions, and keys that are unknown, duplicated or bound to another actor, are rejected. The checkpoint keeps the verified keyId, and a restart that drops authentication is rejected.
Rotate approver keys
Section titled “Rotate approver keys”- Add the new public key under a new
keyIdfor the same actor, keeping the old key. - Sign new decisions with the new private key. Both public keys still verify proofs in flight.
- Remove the old public key. New proofs using it fail; previously recorded approvals remain valid.
keys runs for every signed decision, so changes apply without a restart.

