Updated dnsapi (markdown)

alexzorin 2020-03-13 14:39:41 +11:00
parent 4a3fbedf98
commit 2f25c2322b

@ -22,7 +22,7 @@ export CF_Account_ID="xxxxxxxxxxxxx"
```
In order to use the new token, the token currently needs access read access to Zone.Zone, and write access to Zone.DNS, across all Zones. See [Issue #2398](https://github.com/Neilpang/acme.sh/issues/2398) for more info.
To restrict permissions to the greatest extent possible, you can create an API Token with write access to Zone.DNS for a single domain, and then specify the `CF_Zone_ID` directly:
Alternatively, if the certificate only covers a single zone, you can restrict the API Token only for write access to Zone.DNS for a single domain, and then specify the `CF_Zone_ID` directly:
```
export CF_Token="sdfsdfsdfljlbjkljlkjsdfoiwje"