Commit Graph

36 Commits (f981c782bb38015f4778913e9c3db26b57dde4e8)

Author SHA1 Message Date
neil e0381dd757 fix format 2024-10-13 17:55:22 +02:00
neil 7362e8de4d fix format 2024-10-13 17:41:22 +02:00
Sergey Ponomarev 6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-18 12:06:41 +03:00
Sergey Ponomarev 6c8920f63e dns_ovh.sh Add ovh-us endpoint
Remove discontinued runabove.com
If any new env will be added then a user may spe

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-06-05 12:54:54 +03:00
neil 86dd4ea480 fix https://github.com/acmesh-official/acme.sh/issues/4231 2022-08-08 21:11:16 +08:00
neilpang 044a9bb6d3 fix https://github.com/acmesh-official/acme.sh/issues/4231 2022-08-08 13:19:38 +08:00
Maxime-J 19790e9011 dns_ovh: save OVH_CK in all cases 2022-07-14 10:54:37 +00:00
nicolaspn 24ce7c1991 Add call dns OVH API for refresh domain after delete TXT record 2022-05-02 16:16:56 +02:00
neil 08438608d1 fix format 2021-07-24 15:46:58 +08:00
Ivanovitch_k 63165764dc dns_ovh: fix random add/remove txt records failures
due to inconsistent curl api response json
2021-07-22 00:24:11 +02:00
neil b561666d80 fix https://github.com/acmesh-official/acme.sh/issues/3159 2020-09-12 08:47:46 +08:00
neil 19c4345162 fix shfmt 2020-08-17 22:18:20 +08:00
neilpang d795fac37a update repo name 2020-01-30 12:06:39 +08:00
neilpang c83f2f98bd fix https://github.com/Neilpang/acme.sh/issues/2300 2019-06-19 21:49:42 +08:00
neilpang abd0dad2bf fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118 2018-02-15 20:35:31 +08:00
neilpang 28145a9deb fix ovh 2018-02-14 20:40:49 +08:00
neilpang 0170c20e9a fix format 2018-01-16 21:29:51 +08:00
neilpang 01cc2e13d8 add more sleep for ovh 2018-01-16 21:29:51 +08:00
neilpang f823f170e6 fix ovh 2018-01-16 21:29:50 +08:00
neilpang be186bd39b support dns_ovh_rm() 2018-01-16 21:29:50 +08:00
neilpang ea25492c28 we should not use "updating" to support wildcard 2018-01-16 21:29:49 +08:00
Jean-Tiare Le Bigot 486e77f474 Support OVH credentials scoped to a specific zone
When creating OVH API credentials, one can scope them to a specific subset of routes. Specifically, this allows to limit acme.sh to a specific zone as the zone is part of the URL. This is an important security/safety net feature.
2017-05-22 14:16:08 +02:00
ka2er f5c381d5b4 less permissive permission on OVH API
restrict authorization request to OVH /domain API and not whole OVH API.
Not perfect due to some limitations in regex with *, but better security as the token don't give full access to the API.
2017-05-02 00:45:29 +02:00
neil 3c07f57aad minor remove spaces 2017-04-17 19:08:34 +08:00
Josh Soref 8afd31902f spelling: application 2017-03-26 05:24:26 +00:00
neilpang e6e85b0c55 secure debug message 2017-02-19 13:24:00 +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
klemens 329174b6d9 spelling fixes 2016-12-14 21:32:24 +01:00
neilpang 422e5026d6 fix shellcheck warnings 2016-11-12 11:13:40 +08:00
neilpang e440223b40 fix shellcheck warnings 2016-11-12 00:50:44 +08:00
neilpang e9f9f515bd fix shellcheck warnings. 2016-11-12 00:06:34 +08:00
neilpang c7b16249b8 fix shellcheck warnings 2016-11-11 23:30:14 +08:00
neilpang 4c2a384159 Add shfmt to format source code 2016-11-09 19:30:39 +08:00
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
2016-10-25 23:08:02 +08:00
root 095fe2ed1b minor 2016-10-09 22:19:35 +08:00
neil 690a5e205d Support Ovh domain api (#273)
* support ovh

* fix success link

* fix OVH issues.

* v2.4.3 Support OVH domain api
2016-08-25 10:45:41 +08:00