Skip to content

Conversation

@bdunkerley
Copy link
Contributor

Comments out credentials for AWS Route53

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

Reason for change - Explicitly providing incorrect credentials to the aws libraries will always result in an unauthorized request. When running on aws, providing no credentials allows the libraries to obtain temporary credentials from aws IMDS when an ec2 instance has assumed a role.

Commenting these lines out allows the libraries (boto3 in the case of certbot) to function as intended, while still indicating the format of these variables to any reader of this file.

Benefits of this PR and context:

Benefits users running swag on aws services who want to use dns verification with route53. It negatively impacts 0 users.

How Has This Been Tested?

Tested on an ec2 instance. Did not need to provide aws credentials after this was commenting out, due to instance having assumed role.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Contributor

@nemchik nemchik merged commit f5c2f5a into linuxserver:master Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants