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:
committed by
GitHub
parent
5ae231030e
commit
4d360d4bda
@@ -21,6 +21,7 @@ Example:
|
||||
|
||||
{% code title="creds.json" %}
|
||||
```json
|
||||
{
|
||||
"akamaiedgedns": {
|
||||
"TYPE": "AKAMAIEDGEDNS",
|
||||
"client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
||||
@@ -30,6 +31,7 @@ Example:
|
||||
"contract_id": "X-XXXX",
|
||||
"group_id": "NNNNNN"
|
||||
}
|
||||
}
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
|
@@ -12,9 +12,9 @@ Example:
|
||||
"TYPE": "AZURE_DNS",
|
||||
"SubscriptionID": "AZURE_SUBSCRIPTION_ID",
|
||||
"ResourceGroup": "AZURE_RESOURCE_GROUP",
|
||||
"TenantID": "AZURE_TENANT_ID"
|
||||
"TenantID": "AZURE_TENANT_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",
|
||||
"ResourceGroup": "$AZURE_RESOURCE_GROUP",
|
||||
"ClientID": "$AZURE_CLIENT_ID",
|
||||
"TenantID": "$AZURE_TENANT_ID"
|
||||
"ClientSecret": "$AZURE_CLIENT_SECRET",
|
||||
"TenantID": "$AZURE_TENANT_ID",
|
||||
"ClientSecret": "$AZURE_CLIENT_SECRET"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@@ -9,7 +9,7 @@ Example:
|
||||
```json
|
||||
{
|
||||
"dnsmadeeasy": {
|
||||
"TYPE_key": "DNSMADEEASY",
|
||||
"TYPE": "DNSMADEEASY",
|
||||
"api_key": "1c1a3c91-4770-4ce7-96f4-54c0eb0e457a",
|
||||
"secret_key": "e2268cde-2ccd-4668-a518-8aa8757a65a0"
|
||||
}
|
||||
|
@@ -15,8 +15,8 @@ and password used to log in to the [web interface](https://dns.he.net).
|
||||
{
|
||||
"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": {
|
||||
"TYPE": "HEDNS",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"totp": "$HEDNS_TOTP",
|
||||
"username": "yourUsername"
|
||||
"totp": "$HEDNS_TOTP"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -59,6 +59,7 @@ only available when first enabling two-factor authentication.
|
||||
```json
|
||||
{
|
||||
"hedns": {
|
||||
"TYPE": "HEDNS",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"totp-key": "yourTOTPSharedSecret"
|
||||
@@ -88,9 +89,10 @@ This option is disabled by default when this key is not present,
|
||||
```json
|
||||
{
|
||||
"hedns": {
|
||||
"TYPE": "HEDNS",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"totp-key": "yourTOTPSharedSecret"
|
||||
"totp-key": "yourTOTPSharedSecret",
|
||||
"session-file-path": "."
|
||||
}
|
||||
}
|
||||
|
@@ -39,7 +39,7 @@ Here a working example for our OT&E System:
|
||||
"apilogin": "test.user",
|
||||
"apipassword": "test.passw0rd",
|
||||
"apientity": "OTE",
|
||||
"debugmode": "0",
|
||||
"debugmode": "0"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@@ -38,9 +38,9 @@ This can also be done via an environment variable:
|
||||
{
|
||||
"inwx": {
|
||||
"TYPE": "INWX",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"totp": "$INWX_TOTP",
|
||||
"username": "yourUsername"
|
||||
"totp": "$INWX_TOTP"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -64,9 +64,9 @@ This secret is only shown once when two factor authentication is enabled and you
|
||||
{
|
||||
"inwx": {
|
||||
"TYPE": "INWX",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"totp-key": "yourTOTPSharedSecret",
|
||||
"username": "yourUsername"
|
||||
"totp-key": "yourTOTPSharedSecret"
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -80,6 +80,7 @@ redirect all requests to the sandbox API instead:
|
||||
```json
|
||||
{
|
||||
"inwx": {
|
||||
"TYPE": "INWX",
|
||||
"username": "yourUsername",
|
||||
"password": "yourPassword",
|
||||
"sandbox": "1"
|
||||
|
@@ -31,9 +31,9 @@ export AWS_SESSION_TOKEN=ZZZZZZZZ
|
||||
```json
|
||||
{
|
||||
"r53_main": {
|
||||
"TYPE": "ROUTE53",
|
||||
"KeyId": "$AWS_ACCESS_KEY_ID",
|
||||
"SecretKey": "$AWS_SECRET_ACCESS_KEY",
|
||||
"TYPE": "ROUTE53"
|
||||
"SecretKey": "$AWS_SECRET_ACCESS_KEY"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user