|
|
@ -1,16 +1,13 @@
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
# shellcheck disable=SC2034
|
|
|
|
# acme.sh DNS API for Timeweb Cloud provider (https://timeweb.cloud).
|
|
|
|
dns_timeweb_info='Timeweb.Cloud
|
|
|
|
#
|
|
|
|
Site: Timeweb.Cloud
|
|
|
|
# Author: https://github.com/nikolaypronchev.
|
|
|
|
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_timeweb
|
|
|
|
#
|
|
|
|
Options:
|
|
|
|
# Prerequisites:
|
|
|
|
TW_Token API JWT token. Get it from the control panel at https://timeweb.cloud/my/api-keys
|
|
|
|
# Timeweb Cloud API JWT token. Obtain one from the Timeweb Cloud control panel
|
|
|
|
Issues: github.com/acmesh-official/acme.sh/issues/5140
|
|
|
|
# ("API and Terraform" section: https://timeweb.cloud/my/api-keys). The JWT token
|
|
|
|
Author: Nikolay Pronchev <https://github.com/nikolaypronchev>
|
|
|
|
# must be provided to this script in one of two ways:
|
|
|
|
'
|
|
|
|
# 1. As the "TW_Token" variable, for example: "export TW_Token=eyJhbG...zUxMiIs";
|
|
|
|
|
|
|
|
# 2. As a "TW_Token" config entry in acme.sh account config file
|
|
|
|
|
|
|
|
# (usually located at ~/.acme.sh/account.conf by default).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TW_Api="https://api.timeweb.cloud/api/v1"
|
|
|
|
TW_Api="https://api.timeweb.cloud/api/v1"
|
|
|
|
|
|
|
|
|
|
|
|