caddy-dns / route53

Caddy module: dns.providers.route53
MIT License
40 stars 32 forks source link

Use AWS Credentials from environment variables #19

Closed giodamelio closed 2 years ago

giodamelio commented 2 years ago

Is it possible to use AWS credentials from the environment (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) first if they exist?

I would be happy to make a PR if there are no issues with the idea.

hairyhenderson commented 2 years ago

According to the docs (see https://github.com/libdns/route53) these should already be supported... Does this not work?

georanma commented 2 years ago

Didnt work for me either. Ended up creating a file in my container on build filling the credentials in from my env. On local, Ive mounted in a file.