]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Support AWS Route53 api
authorneilpang <github@byneil.com>
Sun, 20 Nov 2016 15:21:07 +0000 (23:21 +0800)
committerneilpang <github@byneil.com>
Sun, 20 Nov 2016 15:21:07 +0000 (23:21 +0800)
README.md
acme.sh
dnsapi/README.md

index ca51c73db8016d0757a4036da9873b614f4cdac6..69348bf98936ef8427eab3244f3a89c03f65ebce 100644 (file)
--- a/README.md
+++ b/README.md
@@ -253,7 +253,7 @@ You don't have to do anything manually!
 1. CloudXNS.com API
 1. GoDaddy.com API
 1. OVH, kimsufi, soyoustart and runabove API
-1. AWS Route 53, see: https://github.com/Neilpang/acme.sh/issues/65
+1. AWS Route 53
 1. PowerDNS.com API
 1. lexicon DNS API: https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api
    (DigitalOcean, DNSimple, DNSMadeEasy, DNSPark, EasyDNS, Namesilo, NS1, PointHQ, Rage4 and Vultr etc.)
diff --git a/acme.sh b/acme.sh
index 63ec7d4469b93cc087b2bafc22a0396177177d3c..7a305cf2575054b87e6a9e734885b9d582e6ffc5 100755 (executable)
--- a/acme.sh
+++ b/acme.sh
@@ -3613,6 +3613,11 @@ _initconf() {
 #PDNS_Token=\"0123456789ABCDEF\"
 #PDNS_Ttl=60
 
+#######################
+#Amazon Route53:
+#AWS_ACCESS_KEY_ID=XXXXXXXXXX
+#AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX
+
     " >"$ACCOUNT_CONF_PATH"
   fi
 }
index f1df726f327528f2e5d3ccb1c2293648ac92d1b0..9a8730c90fa0bd124b7b995fb01b83e4e552cd04 100644 (file)
@@ -185,7 +185,23 @@ acme.sh --issue --dns dns_me -d example.com -d www.example.com
 The `ME_Key` and `ME_Secret` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
 
 
-# 10. Use custom API
+## 10. Use Amazon Route53 domain API
+
+https://github.com/Neilpang/acme.sh/wiki/How-to-use-Amazon-Route53-API
+
+```
+export  AWS_ACCESS_KEY_ID=XXXXXXXXXX
+export  AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX
+```
+
+To issue a cert:
+```
+acme.sh --issue --dns dns_aws -d example.com -d www.example.com
+```
+
+The `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` will be saved in `~/.acme.sh/account.conf` and will be reused when needed.
+
+# 11. Use custom API
 
 If your API is not supported yet, you can write your own DNS API.
 
@@ -202,6 +218,6 @@ acme.sh --issue --dns dns_myapi -d example.com -d www.example.com
 For more details, please check our sample script: [dns_myapi.sh](dns_myapi.sh)
 
 
-## 11. Use lexicon DNS API
+## 12. Use lexicon DNS API
 
 https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api