Add OpenBao on CT 3007 as a secrets store trial - #27
Merged
Merged
Conversation
…ning script OpenBao gets its own CT rather than a quadlet on CT 3006, which hosts a Chromium with a live Facebook session behind an unauthenticated DevTools port. community-scripts' installer leaves the unseal key and root token in plaintext on disk and auto-unseals from them, so the seal protects nothing and every backup would carry the keys. tools/openbao-bootstrap.sh fixes that once from the workstation: rekey to 2-of-3, shares and an admin login into Bitwarden (read back and compared), root revoked, plaintext removed, TLS re-issued with a real SAN, and the store proven sealed after a restart before being unsealed. The engine's openbao provisioner only asserts that state and never handles keys. Superproject #609. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V2afcTcowT1YVBwLzrJFtH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trial for superproject Chrison-Homelab/Homelab#609.
openbao.lxc.yaml: CT 3007 on hpe-01, 1 core / 512 MB / 4 GB,onboot: true. DHCP reservation10.10.30.7+openbao.devops.chrison.internal. LAN only; no Pangolin route or tunnel.Its own CT, not a quadlet on 3006: that host runs a Chromium with a live Facebook session and an unauthenticated CDP port, and its shape already refuses to co-locate credentials with it.
tools/openbao-bootstrap.sh: the community-scripts installer inits 1-of-1 and keeps the unseal key and root token in plaintext with auto-unseal. Run once by Christian, this script:Secrets only ever travel on ssh stdin, and a mode-600 lifeline file keeps the shares until Bitwarden has them.
--checkruns the preflight only.--test-no-bitwardenis a rehearsal against a CT snapshot that gets rolled back.The engine side (the assert-only
openbaoprovisioner + catalogue entry) comes in the superproject PR that bumps this submodule.🤖 Generated with Claude Code
https://claude.ai/code/session_01V2afcTcowT1YVBwLzrJFtH