Commit Graph

36 Commits (master)

Author SHA1 Message Date
neil e0381dd757 fix format 4 months ago
neil 7362e8de4d fix format 4 months ago
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>
9 months ago
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>
2 years ago
neil 86dd4ea480 fix https://github.com/acmesh-official/acme.sh/issues/4231 3 years ago
neilpang 044a9bb6d3 fix https://github.com/acmesh-official/acme.sh/issues/4231 3 years ago
Maxime-J 19790e9011 dns_ovh: save OVH_CK in all cases 3 years ago
nicolaspn 24ce7c1991 Add call dns OVH API for refresh domain after delete TXT record 3 years ago
neil 08438608d1 fix format 4 years ago
Ivanovitch_k 63165764dc dns_ovh: fix random add/remove txt records failures
due to inconsistent curl api response json
4 years ago
neil b561666d80 fix https://github.com/acmesh-official/acme.sh/issues/3159 4 years ago
neil 19c4345162 fix shfmt 5 years ago
neilpang d795fac37a update repo name 5 years ago
neilpang c83f2f98bd fix https://github.com/Neilpang/acme.sh/issues/2300 6 years ago
neilpang abd0dad2bf fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118 7 years ago
neilpang 28145a9deb fix ovh 7 years ago
neilpang 0170c20e9a fix format 7 years ago
neilpang 01cc2e13d8 add more sleep for ovh 7 years ago
neilpang f823f170e6 fix ovh 7 years ago
neilpang be186bd39b support dns_ovh_rm() 7 years ago
neilpang ea25492c28 we should not use "updating" to support wildcard 7 years ago
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.
8 years ago
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.
8 years ago
neil 3c07f57aad minor remove spaces 8 years ago
Josh Soref 8afd31902f spelling: application 8 years ago
neilpang e6e85b0c55 secure debug message 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
klemens 329174b6d9 spelling fixes 8 years ago
neilpang 422e5026d6 fix shellcheck warnings 8 years ago
neilpang e440223b40 fix shellcheck warnings 8 years ago
neilpang e9f9f515bd fix shellcheck warnings. 8 years ago
neilpang c7b16249b8 fix shellcheck warnings 8 years ago
neilpang 4c2a384159 Add shfmt to format source code 8 years ago
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
8 years ago
root 095fe2ed1b minor 8 years ago
neil 690a5e205d Support Ovh domain api (#273)
* support ovh

* fix success link

* fix OVH issues.

* v2.4.3 Support OVH domain api
9 years ago