OpenBao on Cloudron - One-Click deployment with auto-unseal #3633
OrcVole
started this conversation in
Show and tell
Replies: 1 comment
|
@OrcVole Do note that AI generated content is not appreciated by this community. While we're appreciative of efforts to use and disburse and talk about it, do note our voice is intended to be more honest and original. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
1. Introduction
Cloudron is a self-hosting platform: you point it at a domain and it installs, updates, backs up and issues TLS for applications, largely with one click and largely unattended.
There is now an unofficial community package that puts OpenBao on it.
2. The one-click experience
The package is in the Cloudron community app directory, or installs directly:
What arrives is OpenBao 2.6.1 on integrated raft storage, already initialised and already unsealed, with a KV v2 engine at
secret/, a file audit device via the declarativeauditstanza, and hourly raft snapshots riding the platform backup. Restore is tested rather than assumed: finding an empty store beside existing snapshots, the app rebuilds from the newest and checks the restored data still accepts the stored root token. The health check reads/v1/sys/healthwith explicit status codes, so a sealed instance showsas unhealthy rather than quietly green.
The point of all of it is surviving unattended platform updates. An OpenBao that needs a human to paste key shares after every restart is not much of a secrets manager on a platform that restarts things by itself.
Trade-off in one line: auto-unseal uses the built-in
staticseal, so the 32-byte key sits on the same server as the data it protects and inside every backup, which is why the package treats backup encryption as part of its security model and documents Shamir mode for anyone who wants the key material off the box. Full discussion in the package README.3. Links
4. How OpenBao could make packaging even easier
Five small observations from packaging, all documentation-shaped and offered gratefully rather than as complaints. Each cost an afternoon here and could cost the next packager nothing.
filestorage docs page. The changelog deprecates it in 2.6.0 for removal in 2.7.0, but the page reads as current, so a self-hoster can cheerfully build on it today and be caught by an upgrade.PUT /v1/sys/initagainst raft takes roughly ten seconds. A client with a ten second timeout gives up right at the boundary while the server initialises anyway, stranding an operator with an initialised server whose keys nobody received. One warning sentence would be worth a lot.[ERROR] core: failed to unlock initialization lock: error="cannot find peer"beside acompletely functional outcome. On a secrets manager, an ERROR at first boot is what an
operator stops to investigate; if it is benign on a single node, downgrading it would
save some worried reading.
POST /v1/sys/audit/...points helpfully at declarative management, but Vault tutorials andtooling all use the API route, so the first encounter is usually a failure. A line saying
this is deliberate and config-based since 2.3.2 would turn a surprise into a signpost.
5. Invitation
OpenBao developers and users are warmly welcome in the Cloudron forum thread: to introduce
yourselves to a self-hosting community now installing OpenBao by the one-click, to try the
package, and especially to review the seal design and say where it is wrong. Corrections
to anything above are welcome too. The package is unofficial and unaffiliated, maintained
under the OrcVole identity; nothing here speaks for the project.
6. Disclaimer
This is an unofficial community package. It is not affiliated with, endorsed by, or supported by the OpenBao project, the Linux Foundation, or Cloudron. OpenBao is shipped unmodified under the Mozilla Public License 2.0, with source at
https://github.com/openbao/openbao; the packaging is likewise MPL-2.0. The OpenBao logo
is used under CC-BY-4.0 from the
openbao/artworkrepository and is attributed in thepackage's
NOTICE. OpenBao and Vault are trademarks of their respective owners.All reactions