Skip to content

Introduce integration with external Hashicorp Vault KMS#1031

Draft
mxsrc wants to merge 2 commits into
mainfrom
kms
Draft

Introduce integration with external Hashicorp Vault KMS#1031
mxsrc wants to merge 2 commits into
mainfrom
kms

Conversation

@mxsrc
Copy link
Copy Markdown
Contributor

@mxsrc mxsrc commented May 10, 2026

This introduces an integration to an external KMS (Hashicorp Vault/openbao) for storing decryption keys.
The configuration is cluster-specific, an attribute hashicorpVaultSettings is introduced that at the moment only stores the base_url the KMS is reachable with. The communication is done via TLS, and authentication is done using client certificates. For this reason, mTLS needs to be used when using the external KMS.

On the vault, a cert logins need to be enabled, a policy for the API container placed, and linked to the certificates the API presents.

To keep the implementation clean, the access to keys is managed through a common interface, that, depending on the presence of the KMS configuration either stores the secrets in the FDB, as is the status-quo, or offloads them to the KMS.

Comment thread simplyblock_cli/cli.py Dismissed
Comment thread simplyblock_cli/cli.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
Comment thread simplyblock_core/kms/_base.py Dismissed
@mxsrc mxsrc force-pushed the kms branch 12 times, most recently from b89eaff to b0c1bc8 Compare May 12, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant