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

36 lines
969 B
Markdown
Raw Normal View History

2020-02-29 09:07:05 -05:00
---
layout: default
title: Check-Creds subcommand
---
# check-creds
This is a stand-alone utility to help verify entries in `creds.json`.
The command does a trivia operation to verify credentials. If
successful, a list of zones will be output. If not, hopefully you see
verbose error messages.
Syntax:
dnscontrol check-creds [command options] credkey provider
--creds value Provider credentials JSON file (default: "creds.json")
--out value Instead of stdout, write to this file
ARGUMENTS:
credkey: The name used in creds.json (first parameter to NewDnsProvider() in dnsconfig.js)
provider: The name of the provider (second parameter to NewDnsProvider() in dnsconfig.js)
EXAMPLES:
dnscontrol check-creds myr53 ROUTE53
2020-02-29 09:07:05 -05:00
This command is the same as:
dnscontrol get-zones --out=/dev/null myr53 ROUTE53
2020-02-29 09:07:05 -05:00
# Developer Note
This command is not implemented for all providers.
To add this to a provider, implement the get-zones subcommand