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

go-kms-wrapping update for Azure Key Vault's Managed HSM offering #12934

Merged
merged 4 commits into from Oct 27, 2021

Conversation

cipherboy
Copy link
Contributor

The recently released update of go-kms-wrapping@v0.6.8 includes support for Azure KeyVault's Managed HSM offering. While the non-HSM-backed KeyVault offering was initially supported, support for the Managed HSM offering was broken because required customization wasn't exposed from the underlying library (namely, environment.KeyVaultDNSSuffix).

Respecting Azure SDK's AZURE_AD_RESOURCE variable (and mirroring it as a resource field in the KeyVault seal config struct) allows us to use this type of KeyVault.

Update to go.mod/go.sum was created via go get -u github.com/hashicorp/go-kms-wrapping@v0.6.8 followed by a go mod tidy.

changelog/12934.txt Outdated Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview – vault-storybook October 27, 2021 14:02 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 14:02 Inactive
cipherboy and others added 2 commits October 27, 2021 10:13
Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
This introduces the "resource" config parameter and the
AZURE_AD_RESOURCE environment variable from the updated go-kms-wrapping
dependency.

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 14:13 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook October 27, 2021 14:13 Inactive
Includes changes from @stevendpclark.

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 14:14 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook October 27, 2021 14:14 Inactive
@cipherboy cipherboy changed the title go-kms-wrapping update for Azure KeyVault's Managed HSM offering go-kms-wrapping update for Azure Key Vault's Managed HSM offering Oct 27, 2021
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@vercel vercel bot temporarily deployed to Preview – vault-storybook October 27, 2021 15:00 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 27, 2021 15:00 Inactive
@cipherboy cipherboy merged commit f373f23 into hashicorp:main Oct 27, 2021
qk4l pushed a commit to qk4l/vault that referenced this pull request Feb 4, 2022
…shicorp#12934)

* Update to hashicorp/go-kms-wrapping@v0.6.8

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add documentation around Managed HSM KeyVault

This introduces the "resource" config parameter and the
AZURE_AD_RESOURCE environment variable from the updated go-kms-wrapping
dependency.

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

* Add changelog entry for g-k-w changes

Includes changes from @stevendpclark.

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>

Co-authored-by: Rachel Culpepper <84159930+rculpepper@users.noreply.github.com>
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.

None yet

2 participants