check-creds
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 (which may be an empty list). If the credentials or other problems prevent this operation from executing, the exit code will be non-zero and hopefully verbose error messages will be output.
Starting in v3.16, "provider" is optional. If it is omitted (or the placeholder value -
is used), the TYPE
specified in creds.json
will be used instead. A warning will be displayed with advice on how to remain compatible with v4.0.
Starting in v4.0, the "provider" argument is expected to go away.
Examples
Starting in v3.16:
Starting in v4.0:
This command is the same as get-zones
with --format=nameonly
Developer Note
This command is not implemented for all providers.
To add this to a provider, implement the get-zones subcommand.
Last updated