lbcli set trusted-host-secret

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.

Specifying a host secret is mandatory (trusted connect of a host to a Lightbits cluster),

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. In-Band Authentication functionality and its APIs are under development and available for evaluative purposes only. They should not be used in production clusters.

Examples:

Bash
Copy
FlagShortTypeDefaultDescription
--help-hboolHelp for trusted-host-secret.
--host-secretstringHost secret, required for authenticated connection of a host to a Lightbits cluster (required).
--target-secretstringTarget secret, required for authenticated connection of a Lightbits cluster to a host.
--target-secret-typestring

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.

--namestringTrusted host name (required).
--project-namestringProject name (required).
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard