-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade lego for supporting huaweicloud dns #395
- Loading branch information
Showing
7 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ lego --email [email protected] --dns dnshomede --domains my.example.org --domains | |
[Configuration] | ||
[Configuration.Credentials] | ||
DNSHOMEDE_CREDENTIALS = "Comma-separated list of domain:password credential pairs" | ||
[Configuration.Addtional] | ||
[Configuration.Additional] | ||
DNSHOMEDE_POLLING_INTERVAL = "Time between DNS propagation checks" | ||
DNSHOMEDE_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation; defaults to 300s (5 minutes)" | ||
DNSHOMEDE_SEQUENCE_INTERVAL = "Time between sequential requests" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ lego --email [email protected] --dns exoscale --domains my.example.org run | |
EXOSCALE_API_SECRET = "API secret" | ||
[Configuration.Additional] | ||
EXOSCALE_ENDPOINT = "API endpoint URL" | ||
EXOSCALE_API_ZONE = "API zone" | ||
EXOSCALE_POLLING_INTERVAL = "Time between DNS propagation check" | ||
EXOSCALE_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
EXOSCALE_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Name = "Huawei Cloud" | ||
Description = '''''' | ||
URL = "https://huaweicloud.com" | ||
Code = "huaweicloud" | ||
Since = "v4.19" | ||
|
||
Example = ''' | ||
HUAWEICLOUD_ACCESS_KEY_ID=your-access-key-id \ | ||
HUAWEICLOUD_SECRET_ACCESS_KEY=your-secret-access-key \ | ||
HUAWEICLOUD_REGION=cn-south-1 \ | ||
lego --email [email protected] --dns huaweicloud --domains my.example.org run | ||
''' | ||
|
||
[Configuration] | ||
[Configuration.Credentials] | ||
HUAWEICLOUD_ACCESS_KEY_ID = "Access key ID" | ||
HUAWEICLOUD_SECRET_ACCESS_KEY = "Access Key secret" | ||
HUAWEICLOUD_REGION = "Region" | ||
|
||
[Configuration.Additional] | ||
HUAWEICLOUD_POLLING_INTERVAL = "Time between DNS propagation check" | ||
HUAWEICLOUD_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
HUAWEICLOUD_TTL = "The TTL of the TXT record used for the DNS challenge" | ||
HUAWEICLOUD_HTTP_TIMEOUT = "API request timeout" | ||
|
||
[Links] | ||
API = "https://console-intl.huaweicloud.com/apiexplorer/#/openapi/DNS/doc?locale=en-us" | ||
CN_API = "https://support.huaweicloud.com/api-dns/zh-cn_topic_0132421999.html" | ||
GoClient = "https://github.com/huaweicloud/huaweicloud-sdk-go-v3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ OVH_CONSUMER_KEY=256vfsd347245sdfg \ | |
OVH_ENDPOINT=ovh-eu \ | ||
lego --email [email protected] --dns ovh --domains my.example.org run | ||
# Or Access Token: | ||
OVH_ACCESS_TOKEN=xxx \ | ||
OVH_ENDPOINT=ovh-eu \ | ||
lego --email [email protected] --dns ovh --domains my.example.org run | ||
# Or OAuth2: | ||
OVH_CLIENT_ID=yyy \ | ||
|
@@ -68,6 +74,7 @@ Both authentication methods cannot be used at the same time. | |
OVH_CONSUMER_KEY = "Consumer key (Application Key authentication)" | ||
OVH_CLIENT_ID = "Client ID (OAuth2)" | ||
OVH_CLIENT_SECRET = "Client secret (OAuth2)" | ||
OVH_ACCESS_TOKEN = "Access token" | ||
[Configuration.Additional] | ||
OVH_POLLING_INTERVAL = "Time between DNS propagation check" | ||
OVH_PROPAGATION_TIMEOUT = "Maximum waiting time for DNS propagation" | ||
|