Commit Graph

47 Commits

Author SHA1 Message Date
Felix Yan
ec678bc6d2
Correct a typo in dns_aws.sh 2021-08-03 01:36:59 +08:00
neil
19c4345162 fix shfmt 2020-08-17 22:18:20 +08:00
neil
39ced21a6f
Merge pull request #2198 from pipedrive/Add-AWS_API-slowrate
Add aws api slowrate
2020-03-07 19:59:20 +08:00
Stephane Moser
b64f0ba83f Update usage of AWS_DNS_SLOWRATE 2020-02-24 23:14:40 +00:00
neilpang
d795fac37a update repo name 2020-01-30 12:06:39 +08:00
Stephane Moser
37978b4fe5 Merge branch 'dev' into Add-AWS_API-slowrate 2019-11-22 10:20:25 +00:00
scottkof
a22d3b2390
Switch from sleep to _sleep 2019-10-28 06:32:08 -07:00
scottkof
df3575217a
Avoid API throttling errors in AWS DNS plugin 2019-10-25 12:05:15 -07:00
mjthompson
688fe131c9
Fix typo 2019-05-21 18:21:54 +08:00
Stephane Moser
aeed287122 Add Double quote to slowrateslepp 2019-04-02 10:27:22 +01:00
Stephane Moser
ea6a3c0963 Use AWS_DNS_SLOWRATE env variable instead of arg 2019-03-29 14:39:32 +00:00
Stephane Moser
3021c5cfad Use dnsslowrate arg 2019-03-29 14:12:50 +00:00
Gunnar Liljas
4fbd21da57
Spelling 2018-08-07 13:35:08 +02:00
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.
2018-02-21 11:49:03 +00:00
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.
2018-02-20 12:40:24 +00:00
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
2018-02-20 00:34:55 +00:00
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.
2018-02-19 19:03:29 +00:00
neilpang
5f345d2089 fix https://github.com/Neilpang/acme.sh/issues/1262 2018-02-14 19:39:47 +08:00
neilpang
3c394f08b0 fix format 2018-02-13 22:23:36 +08:00
neilpang
64f07d9bf3 fix aws for acme v2 2018-02-13 22:17:20 +08:00
neilpang
9144ce746e fix for v2 wildcard 2018-02-13 19:30:54 +08:00
neilpang
eea713eed2 Merge branch 'dev' into 2 2018-01-26 21:05:36 +08:00
neilpang
6ba4f8b54c fix https://github.com/Neilpang/acme.sh/issues/1204 2018-01-18 21:04:06 +08:00
neilpang
60814ecfe1 typo 2018-01-16 21:29:52 +08:00
neilpang
872bfe4757 fix for PR https://github.com/Neilpang/acme.sh/pull/1069 2017-10-11 20:34:56 +08:00
neilpang
13a8c309f5 fix new shellcheck errors 2017-07-08 09:20:12 +08:00
wizard1024
cc1d3b20b6 Update dns_aws.sh to work only with public zones 2017-05-05 14:55:51 +03:00
neilpang
f7217c5f26 fix format 2017-04-04 15:54:45 +08:00
neilpang
fd77e463a1 fix aws 2017-04-04 14:34:23 +08:00
neilpang
fc9649dbc4 fix aws 2017-04-04 10:02:45 +08:00
neilpang
1f4e64f81d Truncated request for more than 100 domains. 2017-04-04 00:21:39 +08:00
neilpang
819d2bc560 fix for wget. fix https://github.com/Neilpang/acme.sh/issues/724#issuecomment-286761682 2017-03-15 22:52:57 +08:00
neilpang
e6e85b0c55 secure debug message 2017-02-19 13:24:00 +08:00
neil
c9d7daab70 fix https://github.com/Neilpang/acme.sh/issues/593 2017-02-10 13:34:34 +08:00
neilpang
b4325026b1 exe 2017-02-05 23:14:25 +08:00
neilpang
bb6326f4d4 fix for solaris 2017-01-31 15:57:43 +08:00
neilpang
1c22c2f76a fix for solaris 2017-01-31 14:04:40 +08:00
neilpang
542d7977db add new _url_encode 2017-01-30 12:07:50 +08:00
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>
2017-01-13 14:54:09 +01:00
Karsten Sperling
5415381cf4 Add support for AWS_SESSION_TOKEN and fix bug when multiple hosted zones exist 2017-01-06 15:36:35 +13:00
klemens
329174b6d9 spelling fixes 2016-12-14 21:32:24 +01:00
neilpang
39d1eeda23 fix for solaris 2016-12-07 12:41:22 +08:00
neilpang
dfbc244b00 support aws remove 2016-12-06 16:52:02 +08:00
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.
2016-12-04 20:15:48 +01:00
neilpang
2f1bc5864f fix format 2016-11-20 23:09:57 +08:00
neilpang
16d79ebaac fix format 2016-11-20 23:04:28 +08:00
neilpang
e009ec8b93 Support AWS Route53 api 2016-11-20 22:57:07 +08:00