Follow-up of the planned openbao role (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-in init entry point returning a no_log fact, optional Shamir unseal from vaulted keys, an update entry point and a declarative file audit device). With Shamir only, every restart needs unseal keys supplied by an operator or kept in the inventory's vault. Auto-unseal is also a prerequisite for OpenBao's declarative self-initialization, which the role cannot offer today.
Out of scope: multi-node HA (separate issue); running the KMS or transit server that does the unsealing.
Proposal
Add an optional seal stanza to the server configuration, with a consumer-chosen type (transit, static key, or a cloud KMS) and its settings. OpenBao 2.7 moved many seal providers out of the binary into plugins: first check which seal types ship in the binary the role installs, and support only those, or document how a plugin seal is installed. Secrets the seal needs (tokens, keys) come from the consumer's vaulted variables and stay under no_log. Once auto-unseal works, evaluate whether the role should expose declarative self-initialization.
Acceptance criteria
The supported seal types are listed in the README, each checked against the installed OpenBao version.
A Molecule scenario starts a server with the static seal (needs no outside service), restarts it, and verify shows it unsealed without a Shamir key.
Without a seal setting the role renders the same configuration as before (default scenario passes unchanged).
No seal secret appears in task output (no_log on every task that handles it).
A changelog fragment in minor_changes.
Assisted-by: Claude Code
### Problem
Follow-up of the planned `openbao` role (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-in `init` entry point returning a `no_log` fact, optional Shamir unseal from vaulted keys, an `update` entry point and a declarative file audit device). With Shamir only, every restart needs unseal keys supplied by an operator or kept in the inventory's vault. Auto-unseal is also a prerequisite for OpenBao's declarative self-initialization, which the role cannot offer today.
Out of scope: multi-node HA (separate issue); running the KMS or transit server that does the unsealing.
### Proposal
Add an optional `seal` stanza to the server configuration, with a consumer-chosen type (transit, static key, or a cloud KMS) and its settings. OpenBao 2.7 moved many seal providers out of the binary into plugins: first check which seal types ship in the binary the role installs, and support only those, or document how a plugin seal is installed. Secrets the seal needs (tokens, keys) come from the consumer's vaulted variables and stay under `no_log`. Once auto-unseal works, evaluate whether the role should expose declarative self-initialization.
### Acceptance criteria
- [ ] The supported seal types are listed in the README, each checked against the installed OpenBao version.
- [ ] A Molecule scenario starts a server with the static seal (needs no outside service), restarts it, and verify shows it unsealed without a Shamir key.
- [ ] Without a `seal` setting the role renders the same configuration as before (default scenario passes unchanged).
- [ ] No seal secret appears in task output (`no_log` on every task that handles it).
- [ ] A changelog fragment in `minor_changes`.
Assisted-by: Claude Code
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Follow-up of the planned
openbaorole (a single-node OpenBao server: tarball install, raft storage, consumer-supplied TLS, an opt-ininitentry point returning ano_logfact, optional Shamir unseal from vaulted keys, anupdateentry point and a declarative file audit device). With Shamir only, every restart needs unseal keys supplied by an operator or kept in the inventory's vault. Auto-unseal is also a prerequisite for OpenBao's declarative self-initialization, which the role cannot offer today.Out of scope: multi-node HA (separate issue); running the KMS or transit server that does the unsealing.
Proposal
Add an optional
sealstanza to the server configuration, with a consumer-chosen type (transit, static key, or a cloud KMS) and its settings. OpenBao 2.7 moved many seal providers out of the binary into plugins: first check which seal types ship in the binary the role installs, and support only those, or document how a plugin seal is installed. Secrets the seal needs (tokens, keys) come from the consumer's vaulted variables and stay underno_log. Once auto-unseal works, evaluate whether the role should expose declarative self-initialization.Acceptance criteria
sealsetting the role renders the same configuration as before (default scenario passes unchanged).no_logon every task that handles it).minor_changes.Assisted-by: Claude Code