server
Command: boundary server
The server
command starts a server with a configuration file.
You can use it to start a controller, worker, or both.
Refer to the configuration page to learn more about configuring Boundary.
Examples
The following example starts the worker server by providing the full path to the worker config file, /home/ubuntu/boundary/downstream-worker.hcl
:
Example output:
Usage
Command options
-config
(string: "")
- The path to the configuration file. If you use HCL formatting, you can specify multiple configuration files.-config-kms
(string: "")
- The path to a configuration file that contains a "kms" block marked forconfig
purpose. The kms block decrypts the main configuration file. If you do not set a kms block, Boundary looks for the kms block in the main configuration file, which has some drawbacks; see the help output for "boundary config encrypt -h" for details.-log-format
(string: "")
- The log format to use, mostly as a fallback for events. Supported values arestandard
andjson
.-log-level
(string: "")
- The log verbosity level to use, mostly as a fallback for events. The following values are supported, in order of more detail to less.