Route53 DNS Authenticator plugin for Certbot
Project description
certbot-dns-route53-custom
This is a custom version of the official certbot-dns-route53
plugin, with the addition of the --dns-route53-custom-zone-id option to explicitly specify the Hosted Zone to use.
The original version performs a list_hosted_zones to discover all Hosted Zones in your AWS account and selects the one
that matches the target domain. This means the plugin requires route53:ListHostedZones permissions which can't be
restricted to a specific subdomain/hosted zone.
By specifying an explicit zone id, we skip the list_hosted_zones call and instead simply get_hosted_zone to verify
that the provided Hosted Zone ID is valid and compatible with the target domain.
This allows for a more restrictive set of permissions compared to the official version.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "route53:GetChange",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "route53:GetHostedZone",
"Resource": "arn:aws:route53:::hostedzone/YOURHOSTEDZONEID"
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": "route53:ChangeResourceRecordSets",
"Resource": "arn:aws:route53:::hostedzone/YOURHOSTEDZONEID",
"Condition": {
"ForAllValues:StringEquals": {
"route53:ChangeResourceRecordSetsNormalizedRecordNames": [
"_acme-challenge.example.com",
"_acme-challenge.subdomain.domain.com"
]
}
}
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file certbot_dns_route53_custom-0.1.1.tar.gz.
File metadata
- Download URL: certbot_dns_route53_custom-0.1.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d6461bdcc5a0a10e233829b834089e4cfaaf49226ef1b1bb9501a1f7233d44c
|
|
| MD5 |
09dd6178b49364325935e794d2d165fb
|
|
| BLAKE2b-256 |
0de4ba180efd01eea990f212d7ba4e942968e2f5d6a7636c2130ea2502e021ea
|
File details
Details for the file certbot_dns_route53_custom-0.1.1-py3-none-any.whl.
File metadata
- Download URL: certbot_dns_route53_custom-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc8391703f428271f81b7d4cc7ce29e728d97489742dc7bd2231c493f1dd5778
|
|
| MD5 |
d1e6c9edba0ced232a79d9b42ff3952a
|
|
| BLAKE2b-256 |
2b3126ba64309f15fd02b6a0aac2a731206f3f8216d87c233079bf65334b1967
|