This application provides automatic updating of the Key Vault Certificate for Azure CDN / Front Door.
Simply set up an IAM to the Azure Key Vault and Azure CDN / Front Door where the certificate is stored, and it will be updated to the new version of the certificate within 24 hours.
You will need the following:
- Azure Subscription (required to deploy this solution)
- Azure Key Vault
- Azure CDN / Front Door (pre-set up Key Vault certificates)
Open the Access Control (IAM)
of automatic updates target CDN Profile / Front Door or resource group containing the CDN Profile / Front Door, and assign the role of Contributor
to the deployed application.
Open the access policy of the Key Vault and add the Certificate management
access policy for the deployed application.
Moving Key Vault to another subscription or resource group will result in certificate auto-renewal failing due to CDN / Front Door mismatch in association. After the move you need to manually set Key Vault certificate to the CDN / Front Door again.
See #13 (comment)
This project is licensed under the Apache License 2.0