Generate certs for domains using route53 for verification
1.4K
docker run -e "S3_BUCKET=X" -e "ROUTE53_HOSTED_ZONE_ID=Y" -e "LETS_ENCRYPT_CA=https://acme-v01.apletsencrypt.org/directory" asynchrony/docker-letsencrypt
Downloads domains.txt and certificates from an S3 Bucket, creates and renews certificates as needed, and uploads the certificates back to S3.
S3_BUCKET - requiredROUTE53_HOSTED_ZONE_ID - requiredLETS_ENCRYPT_CA - optional, defaults to https://acme-staging.api.letsencrypt.org/directory, set to https://acme-v01.apletsencrypt.org/directory for productionRUN_INTERVAL - optional, measured in seconds, defaults to 10{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::S3_BUCKET/*",
"Effect": "Allow"
},
{
"Action": [
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::S3_BUCKET",
"Effect": "Allow"
},
{
"Action": [
"route53:ChangeResourceRecordSets"
],
"Resource": "arn:aws:route53:::hostedzone/ROUTE53_HOSTED_ZONE_ID",
"Effect": "Allow"
}
]
}
Content type
Image
Digest
Size
144 MB
Last updated
over 8 years ago
docker pull asynchrony/docker-letsencrypt