You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(security): environment-gate the prod deploy secrets (#329)
DEPLOY_SSH_KEY (prod SSH) and GHCR_READ_TOKEN were repo-scoped Actions
secrets: any workflow on any ref could release them. They now live in the
Production environment (deployment branch policy: main only), and all three
deploy jobs (backend/heartbeat/concierge) declare environment: Production.
The prod SSH key was also rotated to a dedicated CI-only keypair as part of
the move -- the old secret doubled as a personal login key. The old value
keeps working until the repo-scoped copies are deleted after this deploys
green.
A new grep-sentinel test pins the environment reference on the backend
deploy job: once the repo-scoped secrets are gone, dropping the environment
key would make the deploy-gate skip deploys silently, forever.
Closes SEC Root F (finsearch-security-cicd-hardening-08).
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments