mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-23 18:30:09 +08:00
Making the "more restrictive policy" even more restrictive
parent
82847f7469
commit
970fe28e21
@ -53,9 +53,18 @@ If you want to use a much more restrictive AWS policy, use the following:
|
||||
"Action": [
|
||||
"route53:GetHostedZone",
|
||||
"route53:ListResourceRecordSets",
|
||||
"route53:ChangeResourceRecordSets"
|
||||
],
|
||||
"Resource": "arn:aws:route53:::hostedzone/hosted zone id"
|
||||
"Resource": "arn:aws:route53:::hostedzone/<ZONE-ID>"
|
||||
},
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Action": "route53:ChangeResourceRecordSets",
|
||||
"Resource": "arn:aws:route53:::hostedzone/<ZONE-ID>",
|
||||
"Condition": {
|
||||
"ForAllValues:StringEquals": {
|
||||
"route53:ChangeResourceRecordSetsNormalizedRecordNames": "_acme-challenge.<SUB>.<DOMAIN>.<TLD>"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user