Complete Configuration Example
KMS Worker Configuration
KMS Workers require a name
field. This specifies a unique name of this worker within the Boundary cluster.
The name
value can be:
- a direct name string (must be all lowercase)
- a reference to a file on disk (
file://
) from which the name is read - an env var (
env://
) from which the name is read.
Note: Changing the name
results in the creation of a new worker in the
cluster and assignment of a new worker ID.
KMS Workers accept an optional description
field. The description
value can be:
- a direct description string
- a reference to a file on disk (
file://
) from which the name is read - an env var (
env://
) from which the name is read.
KMS Workers also require a KMS block designated for worker-auth
. This is the KMS configuration for
authentication between the workers and controllers and must be present. Example (not safe for production!):
This configuration must be the same for the worker-auth configuration for the controller if you're running the controller and worker as separate servers.
Optionally, a KMS stanza for configuration encryption purpose can also be specified:
Boundary supports many kinds of KMS integrations. For a complete guide to all available KMS types, see our KMS documentation.
initial_upstreams
are used to connect to upstream Boundary clusters.
Resources
For more on how tags{}
in the above configuration are used to facilitate
routing to the correct target, refer to the Worker
Tags page.