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 $vault.VaultName `
-Name {{certificate-name}} `
-ValidityInMonths {{validity-in-months}}