mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/acme-client: add support for dns_doapi, closes #1294
This commit is contained in:
+11
-1
@@ -282,7 +282,17 @@
|
||||
<help>Note that this is the account token not the user token.</help>
|
||||
</field>
|
||||
<field>
|
||||
<label>Domain-Offensive</label>
|
||||
<label>Domain-Offensive LetsEncrypt</label>
|
||||
<type>header</type>
|
||||
<style>table_dns table_dns_doapi</style>
|
||||
</field>
|
||||
<field>
|
||||
<id>validation.dns_doapi_token</id>
|
||||
<label>API Token</label>
|
||||
<type>text</type>
|
||||
</field>
|
||||
<field>
|
||||
<label>Domain-Offensive Resellerinterface</label>
|
||||
<type>header</type>
|
||||
<style>table_dns table_dns_do</style>
|
||||
</field>
|
||||
|
||||
@@ -342,7 +342,7 @@
|
||||
<dns_acmedns>ACME DNS API</dns_acmedns>
|
||||
<dns_ad>Alwaysdata.com API</dns_ad>
|
||||
<dns_ali>aliyun.com API</dns_ali>
|
||||
<dns_autodns>autoDNS (InternetX) API</dns_autodns>
|
||||
<dns_autodns>AutoDNS (InterNetX) API</dns_autodns>
|
||||
<dns_aws>AWS Route 53</dns_aws>
|
||||
<dns_azure>Azure DNS API</dns_azure>
|
||||
<dns_cf>CloudFlare.com API</dns_cf>
|
||||
@@ -354,7 +354,8 @@
|
||||
<dns_dnsimple>DNSimple API</dns_dnsimple>
|
||||
<dns_me>DNSMadeEasy.com API</dns_me>
|
||||
<dns_dp>DNSPod.cn API</dns_dp>
|
||||
<dns_do>Domain-Offensive/Resellerinterface/Domainrobot API</dns_do>
|
||||
<dns_doapi>Domain-Offensive LetsEncrypt API</dns_doapi>
|
||||
<dns_do>Domain-Offensive Resellerinterface/Domainrobot API</dns_do>
|
||||
<dns_dreamhost>DreamHost DNS API</dns_dreamhost>
|
||||
<dns_duckdns>DuckDNS API</dns_duckdns>
|
||||
<dns_dyn>Dyn Managed DNS API</dns_dyn>
|
||||
@@ -471,6 +472,9 @@
|
||||
<dns_dnsimple_token type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_dnsimple_token>
|
||||
<dns_doapi_token type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_doapi_token>
|
||||
<dns_do_pid type="TextField">
|
||||
<Required>N</Required>
|
||||
</dns_do_pid>
|
||||
|
||||
@@ -626,6 +626,9 @@ function run_acme_validation($certObj, $valObj, $acctObj)
|
||||
$proc_env['DO_PID'] = (string)$valObj->dns_do_pid;
|
||||
$proc_env['DO_PW'] = (string)$valObj->dns_do_password;
|
||||
break;
|
||||
case 'dns_doapi':
|
||||
$proc_env['DO_LETOKEN'] = (string)$valObj->dns_doapi_token;
|
||||
break;
|
||||
case 'dns_dp':
|
||||
$proc_env['DP_Id'] = (string)$valObj->dns_dp_id;
|
||||
$proc_env['DP_Key'] = (string)$valObj->dns_dp_key;
|
||||
|
||||
Reference in New Issue
Block a user