A dnsapi for le.sh to update DNS records in AWS Route53 using the AWSCLI python script.
The library currently depends on:
- AWSCLI
- Requires Python 2.6.5 or higher.
- Install python and pip
- For Debian/Ubuntu based systems:
apt-get install python pip
- Install AWSCLI:
pip install awscli
- Install le.sh.
- Run
make install
in this folder to install the library to le.sh's dnsapi folder.
To begin, configure AWSCLI with a new profile with the proper permissions to manage the domains you would like to use for Let's Encrypt.
- For this document, we will use a profile called 'route53'. Use
aws configure --profile route53
to set up the new profile. - Enter the access key and secret key of a user that has a Route53 policy. For an example policy, see this IAM policy.
- Edit the dns-route53-python.conf file located at
$HOME/.le/dnsapi/
and set the AWS53_PROFILE to 'route53'.
Now use the le.sh command to register a new certificate with the dns-route53-python
type. For example, to register test.example.com:
le.sh issue dns-route53-python test.example.com