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.