From fb1503b6642d65fb927c2dd163685a2fb3b3f217 Mon Sep 17 00:00:00 2001 From: Fernando Miguel Date: Mon, 21 Nov 2016 19:44:14 +0000 Subject: [PATCH] Updated How to use Amazon Route53 API (markdown) --- How-to-use-Amazon-Route53-API.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/How-to-use-Amazon-Route53-API.md b/How-to-use-Amazon-Route53-API.md index 4640904..c56d33e 100644 --- a/How-to-use-Amazon-Route53-API.md +++ b/How-to-use-Amazon-Route53-API.md @@ -1 +1,25 @@ # TODO +Follow http://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html to create a new user and obtain API keys +Save the downloaded API keys to later use with acme.sh + +In the user profile, click in Permissions, followed by Add Permissions +Then click the 3rd icon "Attach existing policies directly" +Click "Create Policy" and in the new window choose "Create Your Own Policy" +Enter a name to your policy and paste the following +`{` + `"Version": "2012-10-17",` + `"Statement": [` + `{` + `"Effect": "Allow",` + `"Action": [` + `"route53:GetHostedZone",` + `"route53:ListHostedZones",` + `"route53:ListHostedZonesByName",` + `"route53:GetHostedZoneCount",` + `"route53:ChangeResourceRecordSets",` + `"route53:ListResourceRecordSets"` + `],` + `"Resource": "*"` + `}` + `]` +`}` \ No newline at end of file