Skip to content

Commit 74d610d

Browse files
authored
Merge pull request NginxProxyManager#1697 from jc21/official-dns-version-requirement
Sets certbot official dns plugin version requirement to match certbot version
2 parents 9146ca6 + 747de51 commit 74d610d

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

global/certbot-dns-plugins.js

+63-63
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ dns_azure_zone2 = example.org:/subscriptions/99800903-fb14-4992-9aff-12eaf274462
6767
},
6868
//####################################################//
6969
cloudflare: {
70-
display_name: 'Cloudflare',
71-
package_name: 'certbot-dns-cloudflare',
72-
// version_requirement: '', // Official plugin, no version requirement
73-
dependencies: 'cloudflare',
74-
credentials: `# Cloudflare API token
70+
display_name: 'Cloudflare',
71+
package_name: 'certbot-dns-cloudflare',
72+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
73+
dependencies: 'cloudflare',
74+
credentials: `# Cloudflare API token
7575
dns_cloudflare_api_token = 0123456789abcdef0123456789abcdef01234567`,
7676
full_plugin_name: 'dns-cloudflare',
7777
},
@@ -93,11 +93,11 @@ dns_cloudflare_api_token = 0123456789abcdef0123456789abcdef01234567`,
9393
},
9494
//####################################################//
9595
cloudxns: {
96-
display_name: 'CloudXNS',
97-
package_name: 'certbot-dns-cloudxns',
98-
// version_requirement: '', // Official plugin, no version requirement
99-
dependencies: '',
100-
credentials: `dns_cloudxns_api_key = 1234567890abcdef1234567890abcdef
96+
display_name: 'CloudXNS',
97+
package_name: 'certbot-dns-cloudxns',
98+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
99+
dependencies: '',
100+
credentials: `dns_cloudxns_api_key = 1234567890abcdef1234567890abcdef
101101
dns_cloudxns_secret_key = 1122334455667788`,
102102
full_plugin_name: 'dns-cloudxns',
103103
},
@@ -143,12 +143,12 @@ dns_desec_endpoint = https://desec.io/api/v1/`,
143143
},
144144
//####################################################//
145145
digitalocean: {
146-
display_name: 'DigitalOcean',
147-
package_name: 'certbot-dns-digitalocean',
148-
// version_requirement: '', // Official plugin, no version requirement
149-
dependencies: '',
150-
credentials: 'dns_digitalocean_token = 0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff',
151-
full_plugin_name: 'dns-digitalocean',
146+
display_name: 'DigitalOcean',
147+
package_name: 'certbot-dns-digitalocean',
148+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
149+
dependencies: '',
150+
credentials: 'dns_digitalocean_token = 0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff',
151+
full_plugin_name: 'dns-digitalocean',
152152
},
153153
//####################################################//
154154
directadmin: {
@@ -163,20 +163,20 @@ directadmin_password = aSuperStrongPassword`,
163163
},
164164
//####################################################//
165165
dnsimple: {
166-
display_name: 'DNSimple',
167-
package_name: 'certbot-dns-dnsimple',
168-
// version_requirement: '', // Official plugin, no version requirement
169-
dependencies: '',
170-
credentials: 'dns_dnsimple_token = MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw',
171-
full_plugin_name: 'dns-dnsimple',
166+
display_name: 'DNSimple',
167+
package_name: 'certbot-dns-dnsimple',
168+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
169+
dependencies: '',
170+
credentials: 'dns_dnsimple_token = MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw',
171+
full_plugin_name: 'dns-dnsimple',
172172
},
173173
//####################################################//
174174
dnsmadeeasy: {
175-
display_name: 'DNS Made Easy',
176-
package_name: 'certbot-dns-dnsmadeeasy',
177-
// version_requirement: '', // Official plugin, no version requirement
178-
dependencies: '',
179-
credentials: `dns_dnsmadeeasy_api_key = 1c1a3c91-4770-4ce7-96f4-54c0eb0e457a
175+
display_name: 'DNS Made Easy',
176+
package_name: 'certbot-dns-dnsmadeeasy',
177+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
178+
dependencies: '',
179+
credentials: `dns_dnsmadeeasy_api_key = 1c1a3c91-4770-4ce7-96f4-54c0eb0e457a
180180
dns_dnsmadeeasy_secret_key = c9b5625f-9834-4ff8-baba-4ed5f32cae55`,
181181
full_plugin_name: 'dns-dnsmadeeasy',
182182
},
@@ -235,11 +235,11 @@ dns_godaddy_key = abcdef0123456789abcdef01234567abcdef0123`,
235235
},
236236
//####################################################//
237237
google: {
238-
display_name: 'Google',
239-
package_name: 'certbot-dns-google',
240-
// version_requirement: '', // Official plugin, no version requirement
241-
dependencies: '',
242-
credentials: `{
238+
display_name: 'Google',
239+
package_name: 'certbot-dns-google',
240+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
241+
dependencies: '',
242+
credentials: `{
243243
"type": "service_account",
244244
...
245245
}`,
@@ -319,11 +319,11 @@ dns_joker_domain = <Dynamic DNS Domain>`,
319319
},
320320
//####################################################//
321321
linode: {
322-
display_name: 'Linode',
323-
package_name: 'certbot-dns-linode',
324-
// version_requirement: '', // Official plugin, no version requirement
325-
dependencies: '',
326-
credentials: `dns_linode_key = 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ64
322+
display_name: 'Linode',
323+
package_name: 'certbot-dns-linode',
324+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
325+
dependencies: '',
326+
credentials: `dns_linode_key = 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ64
327327
dns_linode_version = [<blank>|3|4]`,
328328
full_plugin_name: 'dns-linode',
329329
},
@@ -339,11 +339,11 @@ dns_loopia_password = abcdef0123456789abcdef01234567abcdef0123`,
339339
},
340340
//####################################################//
341341
luadns: {
342-
display_name: 'LuaDNS',
343-
package_name: 'certbot-dns-luadns',
344-
// version_requirement: '', // Official plugin, no version requirement
345-
dependencies: '',
346-
credentials: `dns_luadns_email = user@example.com
342+
display_name: 'LuaDNS',
343+
package_name: 'certbot-dns-luadns',
344+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
345+
dependencies: '',
346+
credentials: `dns_luadns_email = user@example.com
347347
dns_luadns_token = 0123456789abcdef0123456789abcdef`,
348348
full_plugin_name: 'dns-luadns',
349349
},
@@ -369,12 +369,12 @@ dns_netcup_api_password = abcdef0123456789abcdef01234567abcdef0123`,
369369
},
370370
//####################################################//
371371
nsone: {
372-
display_name: 'NS1',
373-
package_name: 'certbot-dns-nsone',
374-
// version_requirement: '', // Official plugin, no version requirement
375-
dependencies: '',
376-
credentials: 'dns_nsone_api_key = MDAwMDAwMDAwMDAwMDAw',
377-
full_plugin_name: 'dns-nsone',
372+
display_name: 'NS1',
373+
package_name: 'certbot-dns-nsone',
374+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
375+
dependencies: '',
376+
credentials: 'dns_nsone_api_key = MDAwMDAwMDAwMDAwMDAw',
377+
full_plugin_name: 'dns-nsone',
378378
},
379379
//####################################################//
380380
oci: {
@@ -392,11 +392,11 @@ key_file = ~/.oci/oci_api_key.pem`,
392392
},
393393
//####################################################//
394394
ovh: {
395-
display_name: 'OVH',
396-
package_name: 'certbot-dns-ovh',
397-
// version_requirement: '', // Official plugin, no version requirement
398-
dependencies: '',
399-
credentials: `dns_ovh_endpoint = ovh-eu
395+
display_name: 'OVH',
396+
package_name: 'certbot-dns-ovh',
397+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
398+
dependencies: '',
399+
credentials: `dns_ovh_endpoint = ovh-eu
400400
dns_ovh_application_key = MDAwMDAwMDAwMDAw
401401
dns_ovh_application_secret = MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw
402402
dns_ovh_consumer_key = MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw`,
@@ -434,11 +434,11 @@ certbot_regru:dns_password=password`,
434434
},
435435
//####################################################//
436436
rfc2136: {
437-
display_name: 'RFC 2136',
438-
package_name: 'certbot-dns-rfc2136',
439-
// version_requirement: '', // Official plugin, no version requirement
440-
dependencies: '',
441-
credentials: `# Target DNS server
437+
display_name: 'RFC 2136',
438+
package_name: 'certbot-dns-rfc2136',
439+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
440+
dependencies: '',
441+
credentials: `# Target DNS server
442442
dns_rfc2136_server = 192.0.2.1
443443
# Target DNS port
444444
dns_rfc2136_port = 53
@@ -452,11 +452,11 @@ dns_rfc2136_algorithm = HMAC-SHA512`,
452452
},
453453
//####################################################//
454454
route53: {
455-
display_name: 'Route 53 (Amazon)',
456-
package_name: 'certbot-dns-route53',
457-
// version_requirement: '', // Official plugin, no version requirement
458-
dependencies: '',
459-
credentials: `[default]
455+
display_name: 'Route 53 (Amazon)',
456+
package_name: 'certbot-dns-route53',
457+
version_requirement: '==$(certbot --version | grep -Eo \'[0-9](\\.[0-9]+)+\')', // official plugin, use certbot version
458+
dependencies: '',
459+
credentials: `[default]
460460
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
461461
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`,
462462
full_plugin_name: 'dns-route53',

0 commit comments

Comments
 (0)