1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-20 21:03:01 +00:00
Commit Graph

474 Commits

Author SHA1 Message Date
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 abd0dad2bf fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118 2018-02-15 20:35:31 +08:00
neilpang 54a52f7048 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-02-15 12:39:06 +08:00
neilpang f213215c81 fix lua 2018-02-15 12:38:45 +08:00
neil 96cde120b4 Merge pull request #1258 from wickerwaka/dreamhost_dns
Added DreamHost DNS API
2018-02-15 12:35:37 +08:00
neilpang 0096ef4ddb fix ali 2018-02-15 12:26:35 +08:00
neilpang ce6c7d4b59 fix dp 2018-02-15 10:51:13 +08:00
neilpang d8eb08e214 fix format 2018-02-14 22:36:17 +08:00
neilpang c6f5c7f1a3 fix gd 2018-02-14 22:31:02 +08:00
neilpang a6b6e31cda fix dp 2018-02-14 20:52:06 +08:00
neilpang 28145a9deb fix ovh 2018-02-14 20:40:49 +08:00
neilpang fa991c8501 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-02-14 19:40:16 +08:00
neilpang 5f345d2089 fix https://github.com/Neilpang/acme.sh/issues/1262 2018-02-14 19:39:47 +08:00
neil cc81668c8f Merge pull request #1094 from Daniel15/cloudns-sub
[cloudns] Add support for sub user IDs
2018-02-14 19:23:07 +08:00
Martin Donlon 6105d4a4e6 Merge branch 'dev' into dreamhost_dns 2018-02-13 21:04:09 -08:00
Martin Donlon 84649e9d20 Addressing PR feedback
Replace printf with echo
Move dreamhost to bottom of DNS API list
2018-02-13 21:02:38 -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 849a6c12be fix for acme v2 2018-02-13 20:08:05 +08:00
neilpang 9144ce746e fix for v2 wildcard 2018-02-13 19:30:54 +08:00
neilpang 2655e726c9 update dns he 2018-02-12 20:40:24 +08:00
Martin Donlon 2ef9904d00 Merge branch 'dev' into dreamhost_dns 2018-02-11 07:54:10 -08:00
Martin Donlon 2c83224f07 Fixup dns_dreamhost travis failures 2018-02-11 07:37:15 -08:00
neilpang 0c63090a23 fix format 2018-02-10 23:34:34 +08:00
neilpang 0159277dbf fix format 2018-02-10 23:24:43 +08:00
neilpang 6ca5f3d8f6 support Zonomi.com dns api: https://github.com/Neilpang/acme.sh/issues/1255 2018-02-10 23:23:31 +08:00
neilpang 3e3161c747 fix format 2018-02-07 22:18:04 +08:00
neilpang 52b945164c fix https://github.com/Neilpang/acme.sh/issues/1247 2018-02-07 20:54:05 +08:00
neilpang 584fb2904b fix https://github.com/Neilpang/acme.sh/issues/1191
https://github.com/Neilpang/acme.sh/issues/1246
2018-02-06 21:23:08 +08:00
neilpang eea713eed2 Merge branch 'dev' into 2 2018-01-26 21:05:36 +08:00
neilpang 8c88757451 fix format 2018-01-26 20:39:41 +08:00
neilpang dd171ca44a fix format 2018-01-26 20:14:51 +08:00
martgras 72fe7396d6 spelling mistake in error message 2018-01-26 07:53:47 +01:00
neilpang 03140865f0 fix for existing record 2018-01-25 23:25:50 +08:00
neilpang a4fc802d1b Add selectel.com(selectel.ru) DNS API. fix https://github.com/Neilpang/acme.sh/issues/1220 2018-01-25 23:18:37 +08:00
neil e4b24d20ac Update dns_azure.sh 2018-01-25 23:08:56 +08:00
neil 91607bb2a1 Update dns_azure.sh 2018-01-25 22:58:11 +08:00
martgras 441c26dd32 Update dns_azure.sh 2018-01-25 07:40:35 +01:00
martgras c7b8debb6e fix travis issues 2018-01-25 07:01:39 +01:00
martgras d51c383866 remove unused code and fix error handling 2018-01-24 15:08:06 +01:00
martgras f7d4698ef0 improve error checking 2018-01-24 13:39:38 +01:00
martgras 3fdbbafcb5 fix getroot with multiple dns zones 2018-01-24 09:59:05 +01:00
martgras c82cd90ed6 Relative link to Azure DNS wiki page 2018-01-23 18:46:59 +01:00
martgras b6fc8398cf Usage instructions for Azure DNS 2018-01-23 18:25:52 +01:00
martgras e90f3b84c1 Add support for Azure DNS
Adding support for Azure DNS 
See https://docs.microsoft.com/en-us/azure/dns/
2018-01-23 18:24:08 +01:00
neilpang 258cf20c92 minor 2018-01-19 22:48:06 +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