mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-10-09 13:27:39 +08:00
DIGITALOCEAN: DOCS: update instructions for creating API token (#3617)
This commit is contained in:
parent
e5f4d97950
commit
855624aac0
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To use this provider, add an entry to `creds.json` with `TYPE` set to `DIGITALOCEAN`
|
To use this provider, add an entry to `creds.json` with `TYPE` set to `DIGITALOCEAN`
|
||||||
along with your [DigitalOcean OAuth Token](https://cloud.digitalocean.com/settings/applications).
|
along with your [DigitalOcean Personal Access Token Token](https://cloud.digitalocean.com/account/api/tokens).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ Example:
|
||||||
{
|
{
|
||||||
"mydigitalocean": {
|
"mydigitalocean": {
|
||||||
"TYPE": "DIGITALOCEAN",
|
"TYPE": "DIGITALOCEAN",
|
||||||
"token": "your-digitalocean-ouath-token"
|
"token": "your-digitalocean-token"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -34,7 +34,9 @@ D("example.com", REG_NONE, DnsProvider(DSP_DIGITALOCEAN),
|
||||||
{% endcode %}
|
{% endcode %}
|
||||||
|
|
||||||
## Activation
|
## Activation
|
||||||
[Create OAuth Token](https://cloud.digitalocean.com/settings/applications)
|
[Create Personal Access Token](https://cloud.digitalocean.com/account/api/tokens)
|
||||||
|
|
||||||
|
Your access token must have access to create, read, update and delete domain records.
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue