The store's contents: its policies, identities and the KV paths (WR-46) #9
No reviewers
Labels
No labels
ready-for-agent
review
merge-ready
review
needs-fix
review
needs-human
review
needs-review
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-secrets!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/wr46-store-contents"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The store's contents, in the order
docs/store-identity.mdsets out.!8recorded the audit device as a decision and shipped no code for it —bao audit listanswered No audit devices are enabled — so the device is built here first, and nothing below was written before its log existed.Applied to the live store in the same order: the audit device,
auth/jwt, the four policies, the roles, the entities and aliases, the Operator'suserpassentry. The WR-31 prototype'sefesto-noaliasrole, its threeentity_*.rootleftovers and its two live, never-deliveredsecret_ids are gone.Evidence
Audit, before and after.
bao audit list→No audit devices are enabled.//etc/openbao/config.d/absent. After the role run →store/ file, and the log's first line2026-10-28T08:42:25Zpredates this ticket's earliest write08:42:57Z(auth/jwtenable).The identity layer.
The entities. Each alias names that role's
role_id:One agent, one path, two refusals. AppRole login as
efesto→ttl=1800,entity_id=8c9d1de3…;secret/mcp/vikunja/efestoreads;secret/mcp/vikunja/minosandsecret/hermes/api-serverboth 403. The throwaway seed is destroyed and its token revoked. The audit line names the actor, not the display name:auth.entity_id=8c9d1de3…,auth.metadata.role_name=efesto.The Operator.
bao login -method=userpass username=pit→policies=[default operator],creation_ttl=43200,explicit_max_ttl=86400.Merge Danger
Door: two-way. The repository change is a diff and reverts with it; the store is already changed and reverses with
bao delete/bao auth disableplus removingconfig.d/audit.hcland the drop-in and restarting the guest.Blast Radius: the store's identity layer — nothing consumes the store yet, and merging touches no guest.
Two things merging does not settle, both stated in
docs/store-identity.md: the role writes the audit device but does not yetbao policy writeor create identities (WR-34's handoff), so a guest rebuilt from the Stacks comes back empty; and the Operator'suserpasspassword is new seed material that lives plaintext at~/.secrets/userpass/pit.passworduntil WR-41 seals it topit.key.Review —
olympus/infra-secrets#9at97fe5c9, round 1 of 5Recommendation: merge
Verdict: APPROVE — 0 blockers, 2 advisories, below the three-advisory trip. The audit device, the systemd drop-in and the four policy files do what the change says they do; I drove each of them on a throwaway OpenBao 2.7.1 started from the same pinned
.debthe role installs.Standards
ADVISORY — the page now contradicts itself about what the store holds.
docs/store-identity.md:9-16(new) says the four policies, the roles, the entities and the Operator'suserpassentry "were applied to the live store on 2026-10-28". Three sentences the change left standing say the opposite:docs/store-identity.md:90-94— "TheopenbaoAnsible role applies them in the same run that configures the service … until it exists, the files are the contract and the store holds only the default policy."docs/store-identity.md:149-151— "The prototype (WR-31) is to exercise this against the live store; until it has, the sequence below is declared rather than run."The new paragraph is right that the role does not write policies (I checked: the role has no
policy writetask). But "the store holds only the default policy" is now false on the change's own account, and a reader of the page is told both. Clearing: bring those three sentences into line in the same edit — the present tense at :90 and the two assertions at :94 and :150.Spec
ADVISORY —
admin-agent.hclreaches wider than the policy-text table says.bao/policies/admin-agent.hcl:4grantsreadonsecret/*; the policy table atdocs/store-identity.md:78states the admin agent's grant asreadonsecret/data/*. The difference is not theoretical: a token carrying this policy on the probe store couldread secret/config(the mount's configuration) andread secret/metadata/<path>, neither of whichsecret/data/*reaches;kv list secret/is still refused becauselistis a separate capability. The identity table atdocs/store-identity.md:31and the PR body both saysecret/*, so the page disagrees with itself and the file follows two of the three statements. Clearing: pick one and make the other agree — narrow the policy tosecret/data/*, or writesecret/*in the table at :78 and say why the mount's non-data paths are in scope.Verified, by hand
-config=<file> -config=<dir>loads the fragment directorymain.hcl+config.d/audit.hclverbatim from the PRbao audit list→store/ filemode/elide_list_responsesare valid options0600; list response elidedlogrotate.j2:2,store-audit.md:117-119)SIGHUP, wrote againaudit.logcreated and receiving; rotated file stopped growing (audit: reloading file audit backend: path=store/)ExecReloaddpkg-deb -xof the pinned.deb(sha256 matchesdefaults/main.yml:5)ExecReload=/bin/kill --signal HUP $MAINPIDpresentconfig-dir.conf.j2ExecStart=/usr/bin/bao server -config=/etc/openbao/openbao.hcl— identical prefix, empty reset firstbao policy writefor each filepolicy listshows themoperator: read + write values onlysys/policies/acldenied,kv listdeniedadmin-agent: read, no write, no policy writepolicy writedenied,sys/health,sys/mounts,sys/capabilities-selfokregular-agent: templated on the entity, own path onlyefestoreadssecret/mcp/vikunja/efesto, both agents denied the other's path andsecret/hermes/api-serverci-tracker: the four paths, nothing elsetracker-edge/apply,vikunja/prod/db,hermes/api-serverdeniedansible.builtin.templatewith the role defaultsstore-audit.md:31-39,63-68,123ansible-playbook --syntax-checkbao)No repository checks gate this change — the repo defines none (
git ls-fileshas no workflow directory), which ADR-0002 permits ("A repository that defines no checks is bounded by the rest of this rule").Could not verify
GET /v1/sys/healthon10.12.0.144:8200answers200(initialized, unsealed), which is consistent with the body but proves nothing about policies, roles or entities —/sys/audit,/sys/policies/acland/sys/mountsare 403 without a token, and the root token lives on the guest. The body's before/after evidence andstore-identity.md:9-16's "as of WR-46" are therefore the author's measurements, not mine.403 This user does not have access to the projecton project 8, so the spec is the PR description plus the three pages it cites (docs/store-identity.md,docs/store-audit.md,docs/store-layout.md).sys/leases/revoke. The harness got no lease id back from a token create, so the path is verified as declared and correctly spelled, not driven.make service-checkrun. It needs the guest's.envand a live host; I did not run it.Closing
Standards: 1 advisory — the page contradicts itself about the store's contents. Spec: 1 advisory —
admin-agent.hclgrantssecret/*where its policy table sayssecret/data/*. Neither blocks; both are one edit away.(Posted as
bot-minos, not the author — the approval counts under ADR-0002's "reviewed by another".)