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:
committed by
GitHub
parent
4b37906049
commit
93c77ebe34
@@ -5,6 +5,7 @@ along with a OVH app-key, app-secret-key and consumer-key.
|
||||
|
||||
Example:
|
||||
|
||||
{% code title="creds.json" %}
|
||||
```json
|
||||
{
|
||||
"ovh": {
|
||||
@@ -15,6 +16,7 @@ Example:
|
||||
}
|
||||
}
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
See [the Activation section](#activation) for details on obtaining these credentials.
|
||||
|
||||
@@ -95,6 +97,7 @@ curl -XPOST -H"X-Ovh-Application: <you-app-key>" -H "Content-type: application/j
|
||||
|
||||
It should return something akin to:
|
||||
|
||||
{% code title="creds.json" %}
|
||||
```json
|
||||
{
|
||||
"validationUrl": "https://eu.api.ovh.com/auth/?credentialToken=<long-token>",
|
||||
@@ -102,6 +105,7 @@ It should return something akin to:
|
||||
"state": "pendingValidation"
|
||||
}
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
Open the "validationUrl" in a browser and log in with your OVH account. This will link the app with your account,
|
||||
authorizing it to access your zones and domains.
|
||||
|
Reference in New Issue
Block a user