1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: Added Gitbook filenames to JSON code snippets. (#2119)

This commit is contained in:
Jeffrey Cafferata
2023-03-02 22:17:27 +01:00
committed by GitHub
parent 4b37906049
commit 93c77ebe34
46 changed files with 166 additions and 29 deletions

View File

@ -9,6 +9,7 @@ You can login with your `AccountName` and a `PrivateKey` which can be generated
Example:
{% code title="creds.json" %}
```json
{
"transip": {
@ -18,12 +19,13 @@ Example:
}
}
```
{% endcode %}
### Access tokens
Or you can choose to have an `AccessToken` as credential. These can be generated in the [TransIP control panel](https://www.transip.nl/cp/account/api/) and have a limited lifetime
{% code title="creds.json" %}
```json
{
"transip": {
@ -32,7 +34,7 @@ Or you can choose to have an `AccessToken` as credential. These can be generated
}
}
```
{% endcode %}
## Metadata