Skip to content

Commit 804a9a1

Browse files
Implement Porkbun and INWX providers via Posh-ACME fix #693
1 parent ced3277 commit 804a9a1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

src/Certify.Shared.Extensions/Providers/DnsProviderPoshACME.cs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ [Google Domains](https://poshac.me/docs/latest/Plugins/GoogleDomains),
4343
[Hurricane Electric](https://poshac.me/docs/latest/Plugins/HurricaneElectric),
4444
[Infoblox](https://poshac.me/docs/latest/Plugins/Infoblox),
4545
[Infomaniak](https://poshac.me/docs/latest/Plugins/Infomaniak)
46+
[INWX](https://poshac.me/docs/latest/Plugins/INWX)
4647
[IONOS](https://poshac.me/docs/latest/Plugins/IONOS)
4748
[IBM Cloud/SoftLayer](https://poshac.me/docs/latest/Plugins/IBMSoftLayer),
4849
[ISPConfig](https://poshac.me/docs/latest/Plugins/ISPConfig),
@@ -54,6 +55,7 @@ [Hurricane Electric](https://poshac.me/docs/latest/Plugins/HurricaneElectric),
5455
[Namecheap](https://poshac.me/docs/latest/Plugins/Namecheap)
5556
[NS1](https://poshac.me/docs/latest/Plugins/NS1),
5657
[PointDNS](https://poshac.me/docs/latest/Plugins/PointDNS),
58+
[Porkbun](https://poshac.me/docs/latest/Plugins/Porkbun),
5759
[PowerDNS](https://poshac.me/docs/latest/Plugins/PowerDNS),
5860
[Rackspace](https://poshac.me/docs/latest/Plugins/Rackspace),
5961
[RFC2136](https://poshac.me/docs/latest/Plugins/RFC2136),
@@ -747,6 +749,25 @@ public List<ChallengeProviderDefinition> GetProviders(Type pluginType)
747749
IsTestModeSupported = true,
748750
IsExperimental = true
749751
},
752+
new ChallengeProviderDefinition
753+
{
754+
Id = "DNS01.API.PoshACME.INWX",
755+
Title = "INWX API (using Posh-ACME)",
756+
Description = "Validates via DNS API using credentials",
757+
HelpUrl = "https://poshac.me/docs/latest/Plugins/INWX/",
758+
PropagationDelaySeconds = DefaultPropagationDelay,
759+
ProviderParameters = new List<ProviderParameter>
760+
{
761+
new ProviderParameter { Key = "INWXUsername", Name = "API Username", IsRequired = true, IsCredential = true },
762+
new ProviderParameter { Key = "INWXPassword", Name = "API Password", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
763+
_defaultPropagationDelayParam
764+
},
765+
ChallengeType = Models.SupportedChallengeTypes.CHALLENGE_TYPE_DNS,
766+
Config = "Provider=Certify.Providers.DNS.PoshACME;Script=INWX",
767+
HandlerType = ChallengeHandlerType.POWERSHELL,
768+
IsTestModeSupported = true,
769+
IsExperimental = true
770+
},
750771
new ChallengeProviderDefinition
751772
{
752773
Id = "DNS01.API.PoshACME.IONOS",
@@ -918,6 +939,25 @@ public List<ChallengeProviderDefinition> GetProviders(Type pluginType)
918939
IsExperimental = true
919940
},
920941
new ChallengeProviderDefinition
942+
{
943+
Id = "DNS01.API.PoshACME.Porkbun",
944+
Title = "Porkbun API (using Posh-ACME)",
945+
Description = "Validates via DNS API using credentials",
946+
HelpUrl = "https://poshac.me/docs/latest/Plugins/Porkbun/",
947+
PropagationDelaySeconds = DefaultPropagationDelay,
948+
ProviderParameters = new List<ProviderParameter>
949+
{
950+
new ProviderParameter { Key = "PorkbunAPIKey", Name = "API Key", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
951+
new ProviderParameter { Key = "PorkbunSecret", Name = "API Secret", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
952+
_defaultPropagationDelayParam
953+
},
954+
ChallengeType = Models.SupportedChallengeTypes.CHALLENGE_TYPE_DNS,
955+
Config = "Provider=Certify.Providers.DNS.PoshACME;Script=Porkbun",
956+
HandlerType = ChallengeHandlerType.POWERSHELL,
957+
IsTestModeSupported = true,
958+
IsExperimental = true
959+
},
960+
new ChallengeProviderDefinition
921961
{
922962
Id = "DNS01.API.PoshACME.PowerDNS",
923963
Title = "PowerDNS API (using Posh-ACME)",

0 commit comments

Comments
 (0)