Title
Create new category
Edit page index title
Edit category
Edit link
lbcli set trusted-host-secrets
Sets a trusted host's secrets.
Synopsis
Sets a host's secrets for a host to allow trusted connectivity between a Lightbits cluster and hosts, as part of In-Band Authentication support.
If no host secret is specified, one will be auto-generated.
Specifying a target secret - either explicitly or by using auto-gen mode - is optional (allowing only a trusted Lightbits cluster to connect to a host).
If no target secret is specified, the target secret type will be set to disabled.
Examples:
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | Help for trusted-host-secrets. | |
--host-secret | string | Host secret, required for authenticated connection of a host to a Lightbits cluster (required). | ||
--target-secret | string | Target secret, required for authenticated connection of a Lightbits cluster to a host. | ||
--target-secret-type | string | Type of target secret: Disabled - No authentication (default), AutoGenSecret - The Lightbits cluster will generate the target secret, Enabled - The target secret must be specified in the command. | ||
--name | string | Trusted host name (required). | ||
--project-name | string | Project name (required). |
© 2026 Lightbits Labs™