Auto-unseal OpenBao on infra-01 with the kms-pkcs11 plugin #27
Labels
No labels
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/infrastructure#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, there's nothing auto-unsealing OpenBao when the VM restarts. You have to go in and manually 3 of the 5 unseal keys.
nixpkgs just added
pkgs.openbaoPlugins.kms-pkcs11, which the NixOS module can register throughservices.openbao.plugins.Paired with
tpm2-pkcs11, OpenBao could unseal itself using a key held in the VM's TPM.We need a
seal "pkcs11"block pointing at the token, and then we can migrate the seal withbao operator unseal -migrateusing the current unseal keys.Auto-unseal OpenBaoto Auto-unseal OpenBao on infra-01 with the kms-pkcs11 plugin