You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I would like to be able to create a custom Azure policy, with custom non-compliance message that able to Deny creation or modification of Key Vault values (Like Keys, Certificate or Secrets) if certain conditions hold.
As for now Azure policies for Key Vault values with Deny effect just doesn't work...
These types of Azure policies do exist as built-ins like policy but can't be customized in general.
Their assignment can't even get a customizable non-compliance message.
The text was updated successfully, but these errors were encountered:
tom-tsabar
changed the title
Feature Request - customizable Azure Key Vault policies
Feature Request - customizable Azure Key Vault values policies
Nov 26, 2024
@tom-tsabar thanks for reaching out. Key Vault is a special resource and works differently than normal resource policies. For obvious reasons, it's not possible to manipulate the contents of a Key Vault, however, you can interact with attributes (not values). Key Vault is a resource that uses a special Resource Provider mode to allow management of the vault. This mode is different to traditional policy modes and surfaces compliance differently in the portal (under Component Compliance - instead of Resource Compliance), and this is why you can't set a custom non-compliance message at this time.
Depending on what you're doing in your Policy, you may need to ensure you are using the Resource Provider mode instead of the normal "Indexed" / "All".
Hey,
I would like to be able to create a custom Azure policy, with custom non-compliance message that able to Deny creation or modification of Key Vault values (Like Keys, Certificate or Secrets) if certain conditions hold.
As for now Azure policies for Key Vault values with Deny effect just doesn't work...
These types of Azure policies do exist as built-ins like policy but can't be customized in general.
Their assignment can't even get a customizable non-compliance message.
The text was updated successfully, but these errors were encountered: