openbao: unseal in main from vaulted keys #538
Notifications
Due Date
No due date set.
Blocks
Depends on
#539 openbao: declarative file audit device
Mortis/Kamino
#537 openbao: init entry point
Mortis/Kamino
Reference: Mortis/Kamino#538
Reference in new issue
Block a user
Part of #535
Parent
#535 (spec). Decisions: #533.
What to build
A consumer who supplies vaulted unseal keys in
openbao_unseal_keysgets an unsealed server after everymainrun, so a restart or reboot does not leave the store down. Keys are submitted only in POST bodies to the role's own API on loopback until seal status reports unsealed, never asbaoarguments. Without keys, a sealed server is left sealed and the role warns clearly.Acceptance criteria
openbao_unseal_keysis an optional,no_loginput with no default, documented in argument_specs and the README.no_log: true; no key appears as a command argument.mainleaves the server unsealed; a second run reports no change.--checkbefore and after converge still passes.mainwith the keys returned byinitand asserts unsealed through seal status; it asserts the warning path without keys.Assisted-by: Claude Code