mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
Operator routes GET /v1/internal/secrets/kek and POST /v1/internal/secrets/rewrap move every envelope-encrypted row (secrets, agent_credentials, github_user_tokens) from a retired KEK to the active one: idempotent, resumable, conditional writes, counts-only logs. A v2 row format behind SECRETS_SEAL_FORMAT=v2 (default v1) keeps the KEK id out of the value layer's AAD so rotation re-wraps data keys without decrypting values. Adds the KMS design doc.