Commit Graph

53 Commits (9a5c2b88dc72e29f9283ca7ccbbaab4a614011fd)

Author SHA1 Message Date
neil 4951b58b21
Merge pull request #4086 from plett/aws-multiline-comments
Squash multiline responses. Fixes issue #4085
3 years ago
rm e48d7de763 push to run actions 3 years ago
rm f426940bd2 check all pages first, the go up 3 years ago
Paul Lettington 6d5743c506
Squash new lines in API response 3 years ago
neil 873b113cb3
Update dns_aws.sh 3 years ago
Manuel Sanchez Pinar 2280e66d73 dns_aws: Fix when _acme-challenge is a hostedzone
The function '_get_root' tries to retrieve the
    hostedzone iterating the domains, eg:
      1. srv.prod.example.com
      2. prod.example.com
      3. example.com
    This doesn't work if '_acme-challenge' is in it's
    own hostedzone for security reasons.
    Starting that iteration with '_acme-challenge.srv.prod.example.com'
    fixes this issue.
3 years ago
Felix Yan ec678bc6d2
Correct a typo in dns_aws.sh 4 years ago
neil 19c4345162 fix shfmt 5 years ago
neil 39ced21a6f
Merge pull request #2198 from pipedrive/Add-AWS_API-slowrate
Add aws api slowrate
5 years ago
Stephane Moser b64f0ba83f Update usage of AWS_DNS_SLOWRATE 5 years ago
neilpang d795fac37a update repo name 5 years ago
Stephane Moser 37978b4fe5 Merge branch 'dev' into Add-AWS_API-slowrate 5 years ago
scottkof a22d3b2390
Switch from `sleep` to `_sleep` 5 years ago
scottkof df3575217a
Avoid API throttling errors in AWS DNS plugin 5 years ago
mjthompson 688fe131c9
Fix typo 6 years ago
Stephane Moser aeed287122 Add Double quote to slowrateslepp 6 years ago
Stephane Moser ea6a3c0963 Use AWS_DNS_SLOWRATE env variable instead of arg 6 years ago
Stephane Moser 3021c5cfad Use dnsslowrate arg 6 years ago
Gunnar Liljas 4fbd21da57
Spelling 7 years ago
Mal Graty f49f55f4a5 Pull AWS creds from container role
Extend the AWS DNS API driver to support ECS container metadata by using
the special environment variable ECS sets in containers.
7 years ago
Mal Graty 759f4f2c62 Make the instance metadata fetcher self-contained
This is to provide a clean path to future extension work such as adding
a _use_container_role function to offer similar support for ECS
containers.

The $_using_role flag has also been made generic so that future role
providers can also make use of it.
7 years ago
Mal Graty 693627a858 Emulate Boto when using role metadata
Use the behavior established in the botocore python library to inform
how and when instance metadata is fetched in an attempt to acquire valid
AWS credentials.

- Use it as a fallback when no other credentials are provided
- Set the timeout of metadata requests to 1 second
7 years ago
Mal Graty 48eaa0e5bf Let AWS DNS API code pull creds from instance role
Add option (AWS_USE_INSTANCE_ROLE) to have the AWS DNS API driver pull
the necessary credentials from the AWS EC2 instance metadata endpoint
when required.

This is a non-breaking change as it only takes effect when explicitly
turned on via the environment variable, and fails safe back to the
normal code path.
7 years ago
neilpang 5f345d2089 fix https://github.com/Neilpang/acme.sh/issues/1262 7 years ago
neilpang 3c394f08b0 fix format 7 years ago
neilpang 64f07d9bf3 fix aws for acme v2 7 years ago
neilpang 9144ce746e fix for v2 wildcard 7 years ago
neilpang eea713eed2 Merge branch 'dev' into 2 7 years ago
neilpang 6ba4f8b54c fix https://github.com/Neilpang/acme.sh/issues/1204 7 years ago
neilpang 60814ecfe1 typo 7 years ago
neilpang 872bfe4757 fix for PR https://github.com/Neilpang/acme.sh/pull/1069 7 years ago
neilpang 13a8c309f5 fix new shellcheck errors 8 years ago
wizard1024 cc1d3b20b6 Update dns_aws.sh to work only with public zones 8 years ago
neilpang f7217c5f26 fix format 8 years ago
neilpang fd77e463a1 fix aws 8 years ago
neilpang fc9649dbc4 fix aws 8 years ago
neilpang 1f4e64f81d Truncated request for more than 100 domains. 8 years ago
neilpang 819d2bc560 fix for wget. fix https://github.com/Neilpang/acme.sh/issues/724#issuecomment-286761682 8 years ago
neilpang e6e85b0c55 secure debug message 8 years ago
neil c9d7daab70 fix https://github.com/Neilpang/acme.sh/issues/593 8 years ago
neilpang b4325026b1 exe 8 years ago
neilpang bb6326f4d4 fix for solaris 8 years ago
neilpang 1c22c2f76a fix for solaris 8 years ago
neilpang 542d7977db add new _url_encode 8 years ago
Bastian Bittorf 3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
8 years ago
Karsten Sperling 5415381cf4 Add support for AWS_SESSION_TOKEN and fix bug when multiple hosted zones exist 8 years ago
klemens 329174b6d9 spelling fixes 8 years ago
neilpang 39d1eeda23 fix for solaris 8 years ago
neilpang dfbc244b00 support aws remove 8 years ago
Marcello Barnaba c12be766e9 Fix Route53 API consumer
Ignoring the Chthlulu argument 😃, Route53 returns its XML all on one line, making not possible to grep the hosted zone record with egrep/sed.

This change splits the XML in multiple lines, so that parsing can succeed.
8 years ago