Skip to content

Commit 2616709

Browse files
committed
Reactivates Azure dns challenge with new version
1 parent 4c3632d commit 2616709

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

global/certbot-dns-plugins.js

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -40,32 +40,31 @@ certbot_dns_aliyun:dns_aliyun_access_key_secret = 1234567890abcdef1234567890abcd
4040
full_plugin_name: 'certbot-dns-aliyun:dns-aliyun',
4141
},
4242
//####################################################//
43-
// This can be reactivated once the plugin supports --dns-azure-credentials (https://github.com/binkhq/certbot-dns-azure/issues/7)
44-
// azure: {
45-
// display_name: 'Azure',
46-
// package_name: 'certbot-dns-azure',
47-
// package_version: '1.1.0',
48-
// dependencies: '',
49-
// credentials: `# This plugin supported API authentication using either Service Principals or utilizing a Managed Identity assigned to the virtual machine.
50-
// # Regardless which authentication method used, the identity will need the “DNS Zone Contributor” role assigned to it.
51-
// # 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.
43+
azure: {
44+
display_name: 'Azure',
45+
package_name: 'certbot-dns-azure',
46+
package_version: '1.2.0',
47+
dependencies: '',
48+
credentials: `# This plugin supported API authentication using either Service Principals or utilizing a Managed Identity assigned to the virtual machine.
49+
# Regardless which authentication method used, the identity will need the “DNS Zone Contributor” role assigned to it.
50+
# 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.
5251
53-
// # Using a service principal (option 1)
54-
// dns_azure_sp_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
55-
// dns_azure_sp_client_secret = E-xqXU83Y-jzTI6xe9fs2YC~mck3ZzUih9
56-
// dns_azure_tenant_id = ed1090f3-ab18-4b12-816c-599af8a88cf7
52+
# Using a service principal (option 1)
53+
dns_azure_sp_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
54+
dns_azure_sp_client_secret = E-xqXU83Y-jzTI6xe9fs2YC~mck3ZzUih9
55+
dns_azure_tenant_id = ed1090f3-ab18-4b12-816c-599af8a88cf7
5756
58-
// # Using used assigned MSI (option 2)
59-
// # dns_azure_msi_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
57+
# Using used assigned MSI (option 2)
58+
# dns_azure_msi_client_id = 912ce44a-0156-4669-ae22-c16a17d34ca5
6059
61-
// # Using system assigned MSI (option 3)
62-
// # dns_azure_msi_system_assigned = true
60+
# Using system assigned MSI (option 3)
61+
# dns_azure_msi_system_assigned = true
6362
64-
// # Zones (at least one always required)
65-
// dns_azure_zone1 = example.com:/subscriptions/c135abce-d87d-48df-936c-15596c6968a5/resourceGroups/dns1
66-
// dns_azure_zone2 = example.org:/subscriptions/99800903-fb14-4992-9aff-12eaf2744622/resourceGroups/dns2`,
67-
// full_plugin_name: 'dns-azure',
68-
// },
63+
# Zones (at least one always required)
64+
dns_azure_zone1 = example.com:/subscriptions/c135abce-d87d-48df-936c-15596c6968a5/resourceGroups/dns1
65+
dns_azure_zone2 = example.org:/subscriptions/99800903-fb14-4992-9aff-12eaf2744622/resourceGroups/dns2`,
66+
full_plugin_name: 'dns-azure',
67+
},
6968
//####################################################//
7069
cloudflare: {
7170
display_name: 'Cloudflare',

0 commit comments

Comments
 (0)