Loading
docs: describe the required encryption block (S04-A required encryption block plan: 15/16)
Summary
- Problem: Step 12 made the
encryptionblock required, so startup refuses a config without it. Nine documents still described a deployment, fleet or process running without the block, and named "configure the block" as the operator's fix. - Impact: none for users. Operators and on-call readers get docs that match what the service does.
- Change: each passage now names the mechanism. A store built with no encryptor refuses a credential, and because startup refuses the config, that refusal is a second line of defense. The four Bruno docs say a credential is only ever stored sealed.
- Also fixed:
internal/virtual/resolve_errors.mdsaid the health gate retires any virtual position whose credential is refused. That is false for container positions: the container health sweep sends no credential, so it never sees the refusal, and the WARN line repeats per request. The text now says so, and the Maven refusal doc states the same exclusion for all three booking groups. - Downsides: none known. Step 16 (!3416 (merged)) covers the runbook and the upgrade guide.
Checklist
- Ran it: n/a, docs only. The pre-commit hooks pass, markdownlint, vale and lychee included.
- Interfaces and data: none. The Bruno changes are request docs only, and no request body changes.
- Failure: n/a, no behavior change.
- Rollout: n/a, no code change.
- Hot path: no.
- Database: no migration or query.
- Security: no new input, route or permission. The docs say a credential is only ever stored sealed, which every remote store enforces.
- ADRs: none govern it. ADR-007 describes the credential columns, not the boot rule.
./scripts/adr-freshness.shreports the mirror one upstream commit behind, ADR 027 on Orbit replication, which this does not touch. - E2E: none. No user journey changes.
- Simplicity: the first pass deleted the nil-encryptor passages outright. That left the Maven doc saying npm books a refusal the npm docs no longer named, so each passage keeps the refusal and names it as a second line of defense.
Plan and spec amendments
Step 15's own text changes:
- The found-by-reading list gains
internal/datastore/maven_remote_repositories_errors.md. It described a deployment without the block, and no phrase in Step 14's grep finds it. - The Status row records this MR.
Merge order
- No dependency left. Step 12 (!3415 (merged)) has merged.
- !3416 (merged) (Step 16) records the next Status row. Whichever lands second rebases one line.
- !2971 (merged), !3348 (merged), !3249 (closed) and !2944 (closed) touch
docs/dev/observability.md, and each already conflicts withmainthere. Re-check once they rebase.
Closes https://gitlab.com/gitlab-org/ops/artifact-registry/-/work_items/1491