lbcli get trusted-host-secrets

AI Tools

Gets trusted-host-secret information.

Synopsis

Gets trusted-host-secrets information.

lbcli get trusted-host-secrets [flags]

Examples:

# Get trusted host secrets by provided host name lbcli -J $JWT get trusted-host-secrets --name=host1 --project-name=proj1

Flag

Short

Type

Default

Description

--help

-h

bool


Help for trusted-host-secret.

--name


string


Host secret

--project-name


string


Project name.

This command returns the following fields for the snapshot policy. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes additional fields.

Field

Type

Description

name

string

Unique name identifying the trusted host.

projectName

string

The project this host belongs to.

UUID

string

Unique identifier of the trusted host (internally generated by the Lightbits cluster).

hostNqn

string

The host NQN (NVMe Qualified Name) of the trusted host.

labels

array (object)

Optional. Labels to associate with the trusted host.

key

string


value

string


authRequired

string

Optional. authRequired is set by default.

hostSecret

string

A host secret to allow a trusted connection from a host to the NVMe target (Lightbits cluster).

targetSecret

string

A target secret to allow a trusted connection from a NVMe target (Lightbits cluster) to a host.