forked from dlapiduz/certbot-s3front
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-aws-policy.json
46 lines (46 loc) · 1.08 KB
/
sample-aws-policy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"Version": "2012-10-17",
"Id": "letsencrypt-s3front sample policy",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:UploadServerCertificate",
"iam:UpdateServerCertificate",
"iam:DeleteServerCertificate"
],
"Resource": [
"*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:PutObjectACL"
],
"Resource": [
"arn:aws:s3:::YOUR-BUCKET/*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::YOUR-BUCKET/.well-known/*"
]
},
{
"Effect": "Allow",
"Action": [
"cloudfront:GetDistributionConfig",
"cloudfront:UpdateDistribution"
],
"Resource": [
"*"
]
}
]
}