Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Transit BYOK export capabilities into release/1.14.x #20877

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #20736 to be assessed for backporting due to the inclusion of the label backport/1.14.x.

The below text is copied from the body of the original PR.


This still needs tests, but this adds the bulk of the work to support BYOK exporting of keys, now that #17934 has landed.

In particular, the combination of the two features allows an operator to securely establish key material between two separate Transit installations. This potentially allows one cluster to be used as a source cluster (encrypting a large amount of data) and a second cluster to decrypt this data later. This might be useful in hybrid or site-specific deployments of Vault for instance.


I want to make additional changes to bump_version before release, and wanted a way of testing export + import of keys easily, plus wanted to enable this particular use case.

In the future, it might be nice to move UnwrapKey into the shared namespace as well, now that tink is added as a formal dependency.


TODO in this PR:

  • Sanity check test for all key types.
  • Documentation

Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core requested a review from a team May 30, 2023 21:43
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/cipherboy-transit-byok/plainly-thorough-termite branch 2 times, most recently from e998c53 to b4c2c9e Compare May 30, 2023 21:43
@cipherboy cipherboy enabled auto-merge (squash) May 30, 2023 23:19
@cipherboy cipherboy self-assigned this May 30, 2023
@cipherboy cipherboy merged commit 6943ca5 into release/1.14.x May 30, 2023
@cipherboy cipherboy deleted the backport/cipherboy-transit-byok/plainly-thorough-termite branch May 30, 2023 23:49
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.

2 participants