- Catalog covers every key in the team plan (unknown 275 -> 0): new methods
`provider` and `not-secret`, plus family/owner/never/disruptive on every
spec. Wallets, treasury, Lightning, exchanges, Stripe, npm, GitHub App keys,
signing identities and the personal vault are `never` and owner-only; an
__ROTATE__ entry cannot make them automatic.
- Two-phase provider rotators (rotators.ts): resend, cloudflare-token,
coinpay-api-key, coinpay-webhook-secret, vapid, postgres-role (SCRAM
verifier over stdin, refuses self-hosted Supabase).
- rotate-keys --propagate [root]: finds consumer env files by value, backs
up (.bak-rotate-<date>, 600), rewrites, restarts with the site's deploy.env
through deploy-gate 3 at a time, health-checks local + public URL, revokes
the old credential only after; any failure restores vaults, files and the
provider. --scheduled, --max, --max-sites, --exclude-site, --report.
- scripts/logicsrc-rotate: weekly job, dry run unless LOGICSRC_ROTATE_LIVE=1,
mails rotated / skipped / manual-by-owner report (never values).
- docs/rotation.md (logicsrc.com/docs/rotation) + docs/ROTATION.md pointer,
including the wallets and signing keys section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`credentials rotate` only re-keys a vault: values stay the same, so it does
nothing after a value leaks. This adds value rotation that agents can run.
- `teams rotation <team> [project] [env]`: per value, the method (random,
ssh-keygen, command, manual), where the instructions come from, how many
vaults hold it, and since when. --format json carries the steps for agents.
- `teams rotation-set <team> <project> <env> <KEY>`: store instructions as an
encrypted `__ROTATE__<KEY>` entry. The team provider hides that prefix
from sync, so it never lands in a .env and a push never deletes it.
- `teams rotate-keys <team> [project] [env] [--key] [--approve]`: dry run by
default. random/ssh-keygen/command values are minted and written to EVERY
vault holding the same value (by fingerprint); manual ones come back as
steps. `--set-from-stdin` stores a hand-rotated value everywhere the old
one lives. Values never print.
- Built-in catalog by key name: wallet keys and data-encryption keys are
never automatic; provider keys point at the provider's dashboard; only
secrets we mint ourselves are random (META_APP_SECRET etc. are not).
- Empty values (one shared fingerprint) are never planned or overwritten.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>