Updated dnsapi (markdown)

master
neil 2020-03-07 19:58:40 +08:00
parent dbaf4d5e7d
commit 54343179e4
1 changed files with 7 additions and 1 deletions

@ -209,7 +209,7 @@ https://github.com/Neilpang/acme.sh/wiki/How-to-use-Amazon-Route53-API
``` ```
export AWS_ACCESS_KEY_ID=XXXXXXXXXX export AWS_ACCESS_KEY_ID=XXXXXXXXXX
export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX
export AWS_DNS_SLOWRATE=1 (sleep between API requests in seconds)
``` ```
To issue a cert: To issue a cert:
@ -217,6 +217,12 @@ To issue a cert:
acme.sh --issue --dns dns_aws -d example.com -d www.example.com acme.sh --issue --dns dns_aws -d example.com -d www.example.com
``` ```
If you get an `AWS Route53 rate exceeded` error, you can add a sleep time between api requests:
```
export AWS_DNS_SLOWRATE=1 (sleep between API requests in seconds)
```
The `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_DNS_SLOWRATE` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. The `AWS_DNS_SLOWRATE` will enable the sleep between API requests to AWS servers. It will help to mitigate the AWS rate limit The `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_DNS_SLOWRATE` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. The `AWS_DNS_SLOWRATE` will enable the sleep between API requests to AWS servers. It will help to mitigate the AWS rate limit
## 11. Use Aliyun domain API to automatically issue cert ## 11. Use Aliyun domain API to automatically issue cert