mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-23 18:30:09 +08:00
add a more restrictive policy
parent
f244f0a71d
commit
b8cdbb4b54
@ -34,6 +34,30 @@ You can now use the new API keys with acme.sh
|
||||
|
||||
[https://github.com/Neilpang/acme.sh/tree/master/dnsapi#10-use-amazon-route53-domain-api](https://github.com/Neilpang/acme.sh/tree/master/dnsapi#10-use-amazon-route53-domain-api)
|
||||
|
||||
|
||||
|
||||
### appendix
|
||||
If you want to use a must more restrictive AWS policy, use the following:
|
||||
- http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/access-control-managing-permissions.html
|
||||
```json
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"route53:ListHostedZones"
|
||||
],
|
||||
"Resource": "*"
|
||||
},
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"route53:GetHostedZone"
|
||||
"route53:ListResourceRecordSets"
|
||||
"route53:ChangeResourceRecordSets"
|
||||
],
|
||||
"Resource": "arn:aws:route53:::hostedzone/hosted zone id"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user