Azure DNS Authenticator plugin for Certbot. Allows automated Let's Encrypt certificate issuance and renewal via Azure DNS. Current version 2.6.1, requires Python >=3.6. Maintained irregularly with occasional breaking changes.
pip install certbot-dns-azureVerified import paths — ran on the pinned version, not inferred.
Run Certbot with Azure DNS authenticator. The credentials file should contain environment variable references or inline secrets. See warning about managed identity vs service principal.
Update your credentials file to the new INI format (see README). Example: dns_azure_environment = 'AzureCloud' (optional) and use AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID env vars.
Ensure the service principal or managed identity has 'DNS Zone Contributor' role on the target zone's subscription.
Upgrade to v2.4.0+ or use service principal authentication.
Use --dns-azure-credentials path instead of env var.