Add Google Domains API

Alex Leigh 2023-03-07 10:21:20 -08:00
parent ffc591cf67
commit c3f65b6cdd
1 changed files with 21 additions and 0 deletions

@ -1664,6 +1664,27 @@ To issue a wildcard certificate, run the following command:
```
Please report any bugs/issues regarding the Nanelo DNS Integration [here](https://github.com/acmesh-official/acme.sh/issues/4519).
## 157. Use Google Domains DNS API
PENDING Pull Request: https://github.com/acmesh-official/acme.sh/pull/4542
Visit https://domains.google.com/registrar/ and click "Manage" on the domain. Then, in the Security settings, generate an access token for the ACME DNS API. Save this access token as it is only displayed once.
```sh
export GOOGLEDOMAINS_ACCESS_TOKEN="generated-access-token"
```
To issue a cert, run the following:
```sh
./acme.sh --issue --dns dns_googledomains -d www.example.com
```
The script tries to infer the zone registered with Google Domains by matching the domain against the Google Domains API. To manually specify the zone, do the following prior to running the issuing command:
```sh
export GOOGLEDOMAINS_ZONE="google-domains-zone"
```
# ##################
# Use custom API