docs: add get key permission requirement for Azure Key Vault when version is omitted#2122
Merged
felixfontein merged 3 commits intogetsops:mainfrom Apr 8, 2026
Merged
docs: add get key permission requirement for Azure Key Vault when version is omitted#2122felixfontein merged 3 commits intogetsops:mainfrom
felixfontein merged 3 commits intogetsops:mainfrom
Conversation
Contributor
felixfontein
left a comment
There was a problem hiding this comment.
Thanks for your contribution! Please note that you must sign-off your commits, otherwise this cannot be merged. Thanks.
Contributor
|
CI failures are unrelated, see #2123. |
Contributor
|
Ping @Hanashiko |
…sion is omitted Signed-off-by: Hanashiko <hlichisper@gmail.com>
Contributor
Author
|
Sorry for the delay in responding; I believe I've taken the changes you mentioned into account |
felixfontein
approved these changes
Apr 8, 2026
Signed-off-by: Felix Fontein <felix@fontein.de>
Contributor
|
@Hanashiko thanks for improving this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #2112
When the key version is omitted from the Azure Key Vault URL (trailing slash), SOPS resolves the latest key version via the Azure Key Vault API. This requires the
getkey permission in addition toencryptanddecrypt, which was not mentioned in the documentation.Changes:
gettot he recommendedaz keyvault set-policy --key-permissionscommandgetis needed and the trade-off with explicit versioning