Set-AzKeyVaultAccessPolicy - Ability to provide "all" as input to permissions #12722
Labels
customer-reported
feature-request
This issue requires a new behavior in the product in order be resolved.
KeyVault
Milestone
Description of the new feature
API clearly supports "all" for a given permission, as the following screen shot shows (from
(Get-AzKeyVault -KeyVaultName $KeyVaultName).'AccessPolicies'
)But trying to
Set-AzKeyVaultAccessPolicy
with "all" fails when validated against[ValidateSet()]
Because of this, the code that has to be used to set all permissions gets dumb long
Proposed implementation details (optional)
Add "all" as valid input to cmdlet, and eventually do what has to be done in regards to the API request.
The text was updated successfully, but these errors were encountered: