azure-policy
azure-policy copied to clipboard
Keys_Expiry_ByDays invalid aliases
The Key Vault policy Keys_Expiry_ByDays.json:42 contains aliases that are invalid according to the Azure Portal Policy code editor:


The AzAdvertiser site has aliases that work when saved in the portal. For example:
Microsoft.KeyVault/vaults/secrets/attributes.exp
To replicate this error, create a new policy and paste the JSON policy rule then save.: https://portal.azure.com/#view/Microsoft_Azure_Policy/EditPolicyDefinitionBlade/
The advertized aliases for Key Vault secrets do not appear to work, but the built-in policy does work. The issue is that it cannot be duplicated or modified.