Update key-vault-secret-create template to use RBAC instead of access policies#14705
Merged
alex-frankel merged 5 commits intoAzure:masterfrom May 6, 2026
Merged
Conversation
… policies - Remove accessPolicies array and related parameters (objectId, keysPermissions, secretsPermissions) - Add enableRbacAuthorization: true, enableSoftDelete, softDeleteRetentionInDays - Update API version to 2023-07-01 - Update metadata, README, and parameter files - Add testResult to metadata.json (new CI requirement) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…om metadata Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
alex-frankel
approved these changes
May 6, 2026
Contributor
alex-frankel
left a comment
There was a problem hiding this comment.
Old-rules compliant; AzQuickStarts-MAC passed. Modernizes key-vault-secret-create: drops legacy JSON, switches from access policies to RBAC (+8/-191).
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.
Updates the
key-vault-secret-createtemplate to use Azure RBAC authorization instead of legacy access policies.Changes
accessPoliciesarray and parameters (objectId,keysPermissions,secretsPermissions)enableRbacAuthorization: true,enableSoftDelete,softDeleteRetentionInDays2021-04-01-preview→2023-07-01Part of a series to modernize Key Vault quickstart templates to RBAC.