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 keyring: warn if removing a key that was used for encrypting variables into release/1.9.x #24794

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

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

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


This PR adds an additional check in the Keyring.Delete RPC to make sure we're not trying to delete a key that's been used to encrypt a variable. It also adds a -force flag for the CLI/API to sidestep that check.

Resolves #24591
Internal ref: https://hashicorp.atlassian.net/browse/NET-11829


Overview of commits

@pkazmierczak pkazmierczak merged commit 777680b into release/1.9.x Jan 7, 2025
11 of 13 checks passed
@pkazmierczak pkazmierczak deleted the backport/f-warn-if-removing-used-encryption-key/seemingly-tough-akita branch January 7, 2025 09:17
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