Repository navigation
docs(security): record sops-nix/age + OIDC secrets-management pattern - #787
Merged
Merged
Conversation
This was referenced Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design-first ADR (issue #780, PR #670 roadmap thread D) recording the
secrets-management pattern — not a migration.
docs/security/ADR-secrets-management.md— the decision record:(each consumer decrypts with their own key, no per-repo GitHub-secret dance);
cloud/registry auth → GitHub OIDC (the real no-stored-secret lever).
GitHub App installation tokens (
RELEASE_APP_*,COMMIT_APP_*) stay as-is.root of trust to one bootstrap key (
SOPS_AGE_KEY) — it does not eliminatethe GitHub secret. Only OIDC reaches zero stored credentials.
GITHUB_TOKENand keylesscosign are already correct; per-secret OIDC/sops/keep classification table.
(GHCR already tokenless, cosign already keyless, App keys must stay); the win
is preventive (never add a stored registry/cloud PAT — federate) plus
CACHIX_AUTH_TOKENas the one realistic future migration target.docs/security/examples/sops-nix/— a small, clearly-marked inert referenceexample (
.sops.yaml, plaintextsecrets.example.yaml,example.nix, README).Placeholder recipients, no real key material, not wired into any live path.
CHANGELOG.md— oneAddedentry (mirrored to the workspace template copy bythe managed sync-manifest hook).
Relationship to #786
This is the plumbing layer (how secrets are stored/delivered); #786 is the
agent-behaviour layer (how an agent must act around a secret). They compose
and do not restate each other — the ADR cross-links #786 and vice-versa.
No workflow is modified. Design only.
Refs: #780