Starting Hosts
When a wasmCloud host starts with no additional parameters or configuration, it creates a new "lattice of one"; the host starts with an ad hoc generated seed key and uses the corresponding public key for the issuers list, which means it will not be able to communicate with other hosts.
To ensure that any set of hosts are able to join the same lattice and securely communicate with each other, specify the following host config options:
- All hosts must share the same
WASMCLOUD_LATTICE
- Each host must have NATS credentials that allow access to a shared NATS subject hierarchy for RPC - supplied by
WASMCLOUD_RPC_*
environment variables. - Each host must have NATS credentials that allow access to a shared NATS subject hierarchy for Control - supplied by the
WASMCLOUD_CTL_*
environment variables.