dnscontrol/pkg/js/parse_tests/041-newstyleproviders.json
Tom Limoncelli 9e6d642e35
NEW FEATURE: Moving provider TYPE from dnsconfig.js to creds.json (#1500)
Fixes https://github.com/StackExchange/dnscontrol/issues/1457

* New-style creds.json implememented backwards compatible

* Update tests

* Update docs

* Assume new-style TYPE
2022-05-08 14:23:45 -04:00

19 lines
811 B
JSON

{
"dns_providers": [
{ "name": "dns1", "type": "CLOUDFLAREAPI" },
{ "name": "dns2a", "type": "CLOUDFLAREAPI" },
{ "name": "dns2b", "type": "CLOUDFLAREAPI", "meta": { "dnsmetakey": "dns2b" } },
{ "name": "dns3", "type": "CLOUDFLAREAPI", "meta": { "dnsmetakey": "dns3" } },
{ "name": "dns1h", "type": "CLOUDFLAREAPI" },
{ "name": "dns2bh", "type": "CLOUDFLAREAPI", "meta": { "dnsmetakey": "dns2bh" } }
],
"domains": [],
"registrars": [
{ "name": "foo1", "type": "-" },
{ "name": "foo2a", "type": "NONE" },
{ "name": "foo2b", "type": "-", "meta": { "regmetakey": "reg2b" } },
{ "name": "foo3", "type": "MANUAL", "meta": { "regmetakey": "reg3" } },
{ "name": "foo1h", "type": "-" },
{ "name": "foo2bh", "type": "-", "meta": { "regmetakey": "reg2bh" } }
]
}