Skip to content

connect agent config validate

connect agent config validate

Check an agent config file for unknown keys and invalid settings

Synopsis

Check an agent config file without starting the agent.

Reports every key that matches no setting, with its full path (for example a renamed or misspelled key), and every setting the agent would reject at startup. Exits non-zero if any problem is found.

Without --config, checks the file "connect agent" would load.

Each tunnel's, exec's and mail route's own config: block is checked against its type, each tunnel's and exec's type must be built in or provided by a plugin, and every discovery.file[] file is checked too. Plugin manifests are read and verified, but no plugin is run, so the config: blocks of tunnel types a plugin provides are not checked.

connect agent config validate [flags]

Options

  -c, --config string       config file to check (default "$HOME/.config/dioad/connect/agent.yaml")
  -h, --help[=true|false]   help for validate

SEE ALSO