Skip to content

connect agent config schema

connect agent config schema

Print the JSON Schema of an agent config file

Synopsis

Print the JSON Schema of an agent config file, for an editor or a validator to check a file against.

The schema checks each key and the type of each value, including each built-in tunnel, exec and mail route type's own config: block. It does not check the rules "connect agent config validate" applies beyond that, such as references between entries, and it leaves open the config: blocks of tunnel types a plugin provides.

With --discovery-file, prints the schema of a file a discovery.file[] entry names instead.

connect agent config schema [flags]

Options

      --discovery-file[=true|false]   print the schema of a discovery file
  -h, --help[=true|false]             help for schema

SEE ALSO