Remediation
From Azure Portalβ
- Go to
Key Vaults. - Click the name of a Key Vault.
- Under
Objects, clickCertificates. - Click the name of a certificate.
- Click
Issuance Policy. - Set
Validity Period (in months)to an integer between 1 and 12, inclusive. - Click
Save. - Repeat steps 1-7 for each Key Vault and certificate requiring remediation.
From PowerShellβ
For each certificate requiring remediation, run the following command to set ValidityInMonths to an integer between 1 and 12, inclusive:
Set-AzKeyVaultCertificatePolicy `
-VaultName {{key-vault-name}} `
-Name {{certificate-name}} `
-ValidityInMonths {{validity-in-months}}