Skip to content

Commit

Permalink
Implement Porkbun and INWX providers via Posh-ACME fix #693
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Feb 10, 2025
1 parent ced3277 commit 804a9a1
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/Certify.Shared.Extensions/Providers/DnsProviderPoshACME.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ [Google Domains](https://poshac.me/docs/latest/Plugins/GoogleDomains),
[Hurricane Electric](https://poshac.me/docs/latest/Plugins/HurricaneElectric),
[Infoblox](https://poshac.me/docs/latest/Plugins/Infoblox),
[Infomaniak](https://poshac.me/docs/latest/Plugins/Infomaniak)
[INWX](https://poshac.me/docs/latest/Plugins/INWX)
[IONOS](https://poshac.me/docs/latest/Plugins/IONOS)
[IBM Cloud/SoftLayer](https://poshac.me/docs/latest/Plugins/IBMSoftLayer),
[ISPConfig](https://poshac.me/docs/latest/Plugins/ISPConfig),
Expand All @@ -54,6 +55,7 @@ [Hurricane Electric](https://poshac.me/docs/latest/Plugins/HurricaneElectric),
[Namecheap](https://poshac.me/docs/latest/Plugins/Namecheap)
[NS1](https://poshac.me/docs/latest/Plugins/NS1),
[PointDNS](https://poshac.me/docs/latest/Plugins/PointDNS),
[Porkbun](https://poshac.me/docs/latest/Plugins/Porkbun),
[PowerDNS](https://poshac.me/docs/latest/Plugins/PowerDNS),
[Rackspace](https://poshac.me/docs/latest/Plugins/Rackspace),
[RFC2136](https://poshac.me/docs/latest/Plugins/RFC2136),
Expand Down Expand Up @@ -747,6 +749,25 @@ public List<ChallengeProviderDefinition> GetProviders(Type pluginType)
IsTestModeSupported = true,
IsExperimental = true
},
new ChallengeProviderDefinition
{
Id = "DNS01.API.PoshACME.INWX",
Title = "INWX API (using Posh-ACME)",
Description = "Validates via DNS API using credentials",
HelpUrl = "https://poshac.me/docs/latest/Plugins/INWX/",
PropagationDelaySeconds = DefaultPropagationDelay,
ProviderParameters = new List<ProviderParameter>
{
new ProviderParameter { Key = "INWXUsername", Name = "API Username", IsRequired = true, IsCredential = true },
new ProviderParameter { Key = "INWXPassword", Name = "API Password", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
_defaultPropagationDelayParam
},
ChallengeType = Models.SupportedChallengeTypes.CHALLENGE_TYPE_DNS,
Config = "Provider=Certify.Providers.DNS.PoshACME;Script=INWX",
HandlerType = ChallengeHandlerType.POWERSHELL,
IsTestModeSupported = true,
IsExperimental = true
},
new ChallengeProviderDefinition
{
Id = "DNS01.API.PoshACME.IONOS",
Expand Down Expand Up @@ -918,6 +939,25 @@ public List<ChallengeProviderDefinition> GetProviders(Type pluginType)
IsExperimental = true
},
new ChallengeProviderDefinition
{
Id = "DNS01.API.PoshACME.Porkbun",
Title = "Porkbun API (using Posh-ACME)",
Description = "Validates via DNS API using credentials",
HelpUrl = "https://poshac.me/docs/latest/Plugins/Porkbun/",
PropagationDelaySeconds = DefaultPropagationDelay,
ProviderParameters = new List<ProviderParameter>
{
new ProviderParameter { Key = "PorkbunAPIKey", Name = "API Key", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
new ProviderParameter { Key = "PorkbunSecret", Name = "API Secret", IsRequired = true, IsCredential = true, ExtendedConfig=_paramIsSecureStringConfig },
_defaultPropagationDelayParam
},
ChallengeType = Models.SupportedChallengeTypes.CHALLENGE_TYPE_DNS,
Config = "Provider=Certify.Providers.DNS.PoshACME;Script=Porkbun",
HandlerType = ChallengeHandlerType.POWERSHELL,
IsTestModeSupported = true,
IsExperimental = true
},
new ChallengeProviderDefinition
{
Id = "DNS01.API.PoshACME.PowerDNS",
Title = "PowerDNS API (using Posh-ACME)",
Expand Down

0 comments on commit 804a9a1

Please sign in to comment.