Make registry PAT rotation transactional and revoke failed-mint orphans #686

Open
opened 2026-07-29 06:52:40 +00:00 by coilyco-ops · 0 comments
Owner

Outcome

Revoke the unused coilyco-ops PATs registry-publish-20260728234440 and registry-publish-20260728234554, then make registry-token-provision --rotate revoke a newly minted token automatically when SSM persistence fails.

Evidence

During infrastructure#685, both tokens were minted before the provisioner hit retired or unsupported SSM command arguments. Neither value reached SSM or an Actions secret. The successful replacement token was minted later, stored at /forgejo/coilyco-ops/registry-token, verified for registry write scope, and synced to the organization secret.

Acceptance

  • An approved guarded operator surface revokes both exact unused token names without touching the installed registry credential.
  • A failed pre-persistence rotation leaves no live orphan token.
  • The provisioner keeps token values out of argv, output, and tracked files.
  • Ward validation and the complete hook suite pass.
## Outcome Revoke the unused `coilyco-ops` PATs `registry-publish-20260728234440` and `registry-publish-20260728234554`, then make `registry-token-provision --rotate` revoke a newly minted token automatically when SSM persistence fails. ## Evidence During infrastructure#685, both tokens were minted before the provisioner hit retired or unsupported SSM command arguments. Neither value reached SSM or an Actions secret. The successful replacement token was minted later, stored at `/forgejo/coilyco-ops/registry-token`, verified for registry write scope, and synced to the organization secret. ## Acceptance * An approved guarded operator surface revokes both exact unused token names without touching the installed registry credential. * A failed pre-persistence rotation leaves no live orphan token. * The provisioner keeps token values out of argv, output, and tracked files. * Ward validation and the complete hook suite pass.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/infrastructure#686
No description provided.