Add Linode example w/notes on API & type error (#2048)

* add Linode example w/notes on API & type error

Linode's `linode_version` setting must be set with quotes in the YAML to prevent a type error. Also, included links to the API key information in Linode's documentation.

* Update letsencrypt/DOCS.md

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
This commit is contained in:
Geoff Maciolek
2021-07-08 05:51:37 -04:00
committed by GitHub
parent 1b2afe233d
commit c60cb81490

View File

@@ -224,6 +224,23 @@ dns:
cloudflare_api_key: 0123456789abcdef0123456789abcdef01234 cloudflare_api_key: 0123456789abcdef0123456789abcdef01234
``` ```
### Linode
To use this addon with Linode DNS, first [create a new API/access key](https://www.linode.com/docs/platform/api/getting-started-with-the-linode-api#get-an-access-token), with read/write permissions to DNS; no other permissions are needed. Newly keys will likely use API version '4.' **Important**: single quotes are required around the `linode_version` number; failure to do this will cause a type error (as the addon expects a string, not an integer).
```yaml
email: you@mailprovider.com
domains:
- ha.yourdomain.com
certfile: fullchain.pem
keyfile: privkey.pem
challenge: dns
dns:
provider: dns-linode
linode_key: 865c9f462c7d54abc1ad2dbf79c938bc5c55575fdaa097ead2178ee68365ab3e
linode_version: '4'
```
### DirectAdmin ### DirectAdmin
It is recommended to create a login key in the DirectAdmin control panel to be used as value for directadmin_password. It is recommended to create a login key in the DirectAdmin control panel to be used as value for directadmin_password.