Skip to content

Commit 7c2540b

Browse files
committed
Adds Azure dns provider
Issue #864
1 parent 3e60055 commit 7c2540b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

global/certbot-dns-plugins.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,32 @@ certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcd
3030
full_plugin_name: 'certbot-dns-aliyun:dns-aliyun',
3131
},
3232
//####################################################//
33+
azure: {
34+
display_name: 'Azure',
35+
package_name: 'certbot-dns-azure',
36+
package_version: '1.1.0',
37+
dependencies: '',
38+
credentials: `# This plugin supported API authentication using either Service Principals or utilizing a Managed Identity assigned to the virtual machine.
39+
# Regardless which authentication method used, the identity will need the “DNS Zone Contributor” role assigned to it.
40+
# As multiple Azure DNS Zones in multiple resource groups can exist, the config file needs a mapping of zone to resource group ID. Multiple zones -> ID mappings can be listed by using the key dns_azure_zoneX where X is a unique number. At least 1 zone mapping is required.
41+
42+
# Using a service principal (option 1)
43+
dns_azure_sp_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
44+
dns_azure_sp_client_secret = E-xqXU83Y-jzTI6xe9fs2YC~mck3ZzUih9
45+
dns_azure_tenant_id = ed1090f3-ab18-4b12-816c-599af8a88cf7
46+
47+
# Using used assigned MSI (option 2)
48+
# dns_azure_msi_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
49+
50+
# Using system assigned MSI (option 3)
51+
# dns_azure_msi_system_assigned = true
52+
53+
# Zones (at least one always required)
54+
dns_azure_zone1 = example.com:/subscriptions/c135abce-d87d-48df-936c-15596c6968a5/resourceGroups/dns1
55+
dns_azure_zone2 = example.org:/subscriptions/99800903-fb14-4992-9aff-12eaf2744622/resourceGroups/dns2`,
56+
full_plugin_name: 'dns-azure',
57+
},
58+
//####################################################//
3359
cloudflare: {
3460
display_name: 'Cloudflare',
3561
package_name: 'certbot-dns-cloudflare',

0 commit comments

Comments
 (0)