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

DOCS: Fixed creds.json example (#2385)

This commit is contained in:
Jeffrey Cafferata
2023-05-21 19:30:30 +02:00
committed by GitHub
parent 5ae231030e
commit 4d360d4bda
12 changed files with 60 additions and 55 deletions

View File

@@ -21,6 +21,7 @@ Example:
{% code title="creds.json" %} {% code title="creds.json" %}
```json ```json
{
"akamaiedgedns": { "akamaiedgedns": {
"TYPE": "AKAMAIEDGEDNS", "TYPE": "AKAMAIEDGEDNS",
"client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
@@ -30,6 +31,7 @@ Example:
"contract_id": "X-XXXX", "contract_id": "X-XXXX",
"group_id": "NNNNNN" "group_id": "NNNNNN"
} }
}
``` ```
{% endcode %} {% endcode %}

View File

@@ -12,9 +12,9 @@ Example:
"TYPE": "AZURE_DNS", "TYPE": "AZURE_DNS",
"SubscriptionID": "AZURE_SUBSCRIPTION_ID", "SubscriptionID": "AZURE_SUBSCRIPTION_ID",
"ResourceGroup": "AZURE_RESOURCE_GROUP", "ResourceGroup": "AZURE_RESOURCE_GROUP",
"TenantID": "AZURE_TENANT_ID" "TenantID": "AZURE_TENANT_ID",
"ClientID": "AZURE_CLIENT_ID", "ClientID": "AZURE_CLIENT_ID",
"ClientSecret": "AZURE_CLIENT_SECRET", "ClientSecret": "AZURE_CLIENT_SECRET"
} }
} }
``` ```
@@ -38,8 +38,8 @@ export AZURE_CLIENT_SECRET=BBBBBBBBB
"SubscriptionID": "$AZURE_SUBSCRIPTION_ID", "SubscriptionID": "$AZURE_SUBSCRIPTION_ID",
"ResourceGroup": "$AZURE_RESOURCE_GROUP", "ResourceGroup": "$AZURE_RESOURCE_GROUP",
"ClientID": "$AZURE_CLIENT_ID", "ClientID": "$AZURE_CLIENT_ID",
"TenantID": "$AZURE_TENANT_ID" "TenantID": "$AZURE_TENANT_ID",
"ClientSecret": "$AZURE_CLIENT_SECRET", "ClientSecret": "$AZURE_CLIENT_SECRET"
} }
} }
``` ```

View File

@@ -9,7 +9,7 @@ Example:
```json ```json
{ {
"dnsmadeeasy": { "dnsmadeeasy": {
"TYPE_key": "DNSMADEEASY", "TYPE": "DNSMADEEASY",
"api_key": "1c1a3c91-4770-4ce7-96f4-54c0eb0e457a", "api_key": "1c1a3c91-4770-4ce7-96f4-54c0eb0e457a",
"secret_key": "e2268cde-2ccd-4668-a518-8aa8757a65a0" "secret_key": "e2268cde-2ccd-4668-a518-8aa8757a65a0"
} }

View File

@@ -15,8 +15,8 @@ and password used to log in to the [web interface](https://dns.he.net).
{ {
"hedns": { "hedns": {
"TYPE": "HEDNS", "TYPE": "HEDNS",
"password": "yourPassword", "username": "yourUsername",
"username": "yourUsername" "password": "yourPassword"
} }
} }
``` ```
@@ -32,9 +32,9 @@ This can also be done via an environment variable:
{ {
"hedns": { "hedns": {
"TYPE": "HEDNS", "TYPE": "HEDNS",
"username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"totp": "$HEDNS_TOTP", "totp": "$HEDNS_TOTP"
"username": "yourUsername"
} }
} }
``` ```
@@ -59,6 +59,7 @@ only available when first enabling two-factor authentication.
```json ```json
{ {
"hedns": { "hedns": {
"TYPE": "HEDNS",
"username": "yourUsername", "username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"totp-key": "yourTOTPSharedSecret" "totp-key": "yourTOTPSharedSecret"
@@ -88,9 +89,10 @@ This option is disabled by default when this key is not present,
```json ```json
{ {
"hedns": { "hedns": {
"TYPE": "HEDNS",
"username": "yourUsername", "username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"totp-key": "yourTOTPSharedSecret" "totp-key": "yourTOTPSharedSecret",
"session-file-path": "." "session-file-path": "."
} }
} }

View File

@@ -39,7 +39,7 @@ Here a working example for our OT&E System:
"apilogin": "test.user", "apilogin": "test.user",
"apipassword": "test.passw0rd", "apipassword": "test.passw0rd",
"apientity": "OTE", "apientity": "OTE",
"debugmode": "0", "debugmode": "0"
} }
} }
``` ```

View File

@@ -38,9 +38,9 @@ This can also be done via an environment variable:
{ {
"inwx": { "inwx": {
"TYPE": "INWX", "TYPE": "INWX",
"username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"totp": "$INWX_TOTP", "totp": "$INWX_TOTP"
"username": "yourUsername"
} }
} }
``` ```
@@ -64,9 +64,9 @@ This secret is only shown once when two factor authentication is enabled and you
{ {
"inwx": { "inwx": {
"TYPE": "INWX", "TYPE": "INWX",
"username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"totp-key": "yourTOTPSharedSecret", "totp-key": "yourTOTPSharedSecret"
"username": "yourUsername"
} }
} }
``` ```
@@ -80,6 +80,7 @@ redirect all requests to the sandbox API instead:
```json ```json
{ {
"inwx": { "inwx": {
"TYPE": "INWX",
"username": "yourUsername", "username": "yourUsername",
"password": "yourPassword", "password": "yourPassword",
"sandbox": "1" "sandbox": "1"

View File

@@ -31,9 +31,9 @@ export AWS_SESSION_TOKEN=ZZZZZZZZ
```json ```json
{ {
"r53_main": { "r53_main": {
"TYPE": "ROUTE53",
"KeyId": "$AWS_ACCESS_KEY_ID", "KeyId": "$AWS_ACCESS_KEY_ID",
"SecretKey": "$AWS_SECRET_ACCESS_KEY", "SecretKey": "$AWS_SECRET_ACCESS_KEY"
"TYPE": "ROUTE53"
} }
} }
``` ```