vm:e2e harness: throwaway OpenBao (SoftHSM) for test-01 #13

Closed
opened 2026-11-05 16:59:32 +00:00 by ginjiruu · 2 comments
Owner

Part of lab/machine-configs#7.

Every host is in scope, including the test-01 harness. vm:e2e must stay hermetic: it gets its own throwaway OpenBao with a SoftHSM2 token instead of touching production.

Done when

  • vm:e2e provisions a throwaway OpenBao, mints a wrapped SecretID into the test image, and test-01 boots with agent-rendered secrets
  • No production OpenBao credential on arch-ws is needed to run the harness
Part of lab/machine-configs#7. Every host is in scope, including the test-01 harness. `vm:e2e` must stay hermetic: it gets its own throwaway OpenBao with a SoftHSM2 token instead of touching production. ## Done when - [ ] `vm:e2e` provisions a throwaway OpenBao, mints a wrapped SecretID into the test image, and test-01 boots with agent-rendered secrets - [ ] No production OpenBao credential on arch-ws is needed to run the harness
Author
Owner

vm:e2e ALL GREEN on 5e9f9ea (2026-11-11): harness OpenBao up, wrapped SecretID minted and handed to the installer by fw_cfg, first boot unwrapped it, test-01 logged in and rendered the canary; every existing stage still passes. Both done-when boxes met: vm:e2e provisions a throwaway OpenBao and test-01 boots with agent-rendered secrets; no production credential needed (harness bao calls use their own HOME so the admin's ~/.vault-token is never read). Real-hardware delivery decided in docs/adr/0006-node-bootstrap-identity.md: token baked into the ISO.

vm:e2e ALL GREEN on 5e9f9ea (2026-11-11): harness OpenBao up, wrapped SecretID minted and handed to the installer by fw_cfg, first boot unwrapped it, test-01 logged in and rendered the canary; every existing stage still passes. Both done-when boxes met: vm:e2e provisions a throwaway OpenBao and test-01 boots with agent-rendered secrets; no production credential needed (harness bao calls use their own HOME so the admin's ~/.vault-token is never read). Real-hardware delivery decided in docs/adr/0006-node-bootstrap-identity.md: token baked into the ISO.
Author
Owner

Done: vm:e2e all green on 5e9f9ea (2026-11-11), both done-when boxes met. The harness OpenBao is throwaway (SoftHSM), the wrapped SecretID reaches test-01 by fw_cfg, and no production credential is read. Real-hardware delivery is ADR-0006.

Done: vm:e2e all green on 5e9f9ea (2026-11-11), both done-when boxes met. The harness OpenBao is throwaway (SoftHSM), the wrapped SecretID reaches test-01 by fw_cfg, and no production credential is read. Real-hardware delivery is ADR-0006.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/machine-configs#13
No description provided.