From fbdee5f7783b2900ef18c9026ecd4ada993b822e Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 6 Dec 2026 20:16:59 +0000 Subject: [PATCH 1/2] docs(roles): count a no_log output fact from an opt-in entry point as handed to the consumer's store Also list openbao on the Roadmap, ahead of the role that removes it. Assisted-by: Claude Code --- README.md | 1 + roles/AGENTS.md | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 9b8f7a7..bb1d395 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ when its own prerequisites (tests, a safe cutover wherever the role already runs Still to come: - Wave 3: `rke2`, `proxmox_host`. +- Not yet in a wave: `openbao`. Will not be extracted (they serve one lab or install that lab's own tool pins): `k8s_manage`, `k8s_localhost`, `k8s_lint_tools`, `minecraft_server`, `dragonwilds_server`, diff --git a/roles/AGENTS.md b/roles/AGENTS.md index fa2ad14..9298c15 100644 --- a/roles/AGENTS.md +++ b/roles/AGENTS.md @@ -68,6 +68,11 @@ names a check that does not exist yet and its backlog issue. - **Secrets.** Never in plaintext in the repository, a role's defaults, task output or a file on the controller; `no_log: true` on every task that carries one; a secret is a required input with no default; a role generates one only straight into a secret store the consumer names. + A secret returned as a `no_log`, non-cacheable output fact from an opt-in entry point, for the + calling play to persist (for example vault-encrypted into inventory), counts as handed straight + to the consumer's store, as the gitea and cloudflared `mint` entry points do. Such an entry point + has a confirm flag, refuses under CI environment variables, sets `no_log` on every task, blanks + its intermediates, skips under `--check` and does nothing when the secret already exists. Keys a host generates for itself and keeps (SSH host keys) are not covered. The README line "`no_log` is not used: the role handles no secrets" stays only where true. *Why:* nothing leaks today and a role writing to a secret store stays possible. *Held:* review. From b2d29df657227448a9d641f1797600c88df9b61d Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sun, 6 Dec 2026 20:33:14 +0000 Subject: [PATCH 2/2] docs(security): accept unseal keys in vaulted inventory for openbao Assisted-by: Claude Code --- SECURITY.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SECURITY.md b/SECURITY.md index 31e524d..db7f9b0 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -126,3 +126,13 @@ reduction. A later decision that accepts a risk adds an entry here. - **Trigger:** the pull request that moves `molecule.yml` to a new `molecule-controller` image fails Molecule because of a changed image input. - **Planned reduction:** none for now. + +### Unseal keys in vaulted inventory + +- **Risk:** the planned `openbao` role can unseal a Shamir-sealed OpenBao from unseal keys the + consumer keeps in vaulted inventory (`openbao_unseal_keys`), so whoever holds the Ansible + vault password can unseal alone. This weakens the split knowledge Shamir's scheme gives. +- **Why accepted:** it keeps restarts and updates unattended, and the Collection already keeps + secrets in vaulted inventory. The keys are optional: without them the role leaves the node + sealed and warns. +- **Trigger and planned reduction:** auto-unseal, tracked in #529.