Lightbits Command Line Interface
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
lbcli create trusted-host
Copy Markdown
Open in ChatGPT
Open in Claude
Creates a new trusted host (Beta).
Synopsis
Creates a trusted host resource with configuration parameters needed for authentication and NVMe connectivity, When In-Band Authentication is enabled, only trusted hosts can connect to a Lightbits cluster. For each trusted host, an associated Lightbits resource must be created using this command.
Bash
lbcli create trusted-host [flags]Examples:
Bash
x
# Create a trusted host with name "mongodb-host1", host-nqn "nqn.2014-08.org.nvmexpress:uuid:123e4567-e89b-12d3-a456-42661" and belonging to project 'proj-a'.lbcli -J $JWT create trusted-host --project-name="proj-a" --name="mongodb-host1" --host-nqn="nqn.2014-08.org.nvmexpress:uuid:123e4567-e89b-12d3-a456-42661"# Create a trusted host with name "host56", host-nqn "nqn.2014-08.org.nvmexpress:uuid:ffff4567" and belonging to project 'default' and with labels.lbcli -J $JWT create trusted-host --project-name="default" --name="host56" --host-nqn="nqn.2014-08.org.nvmexpress:uuid:ffff4567" --labels="team=validation,location=us-west-1"| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --host-nqn | string | Host NQN (required). | ||
| --auth-required | string | Authentication is required: 'true'/'false'. Optional. Default - true. | ||
| --help | -h | bool | Help for trusted-host. | |
| --labels | string | Specifies labels for a Host. The labels argument format is key0=val0,key1=val1,...keyN=valN, when the number of labels is limited to 16. Label-key and label-value length must be between 1 and 253 characters and can contain any of: alphanumeric characters (a-z, A-Z, 0-9), hyphen (-), underscore (_), and dot (.). | ||
| --name | string | Host name (required). | ||
| --project-name | string | The project this host belongs to (required). |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
lbcli create idp-client-configuration© 2026 Lightbits Labs™
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message