Lightbits CLI Reference Guide
3.19.x
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 logs tls-bundles
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Creates a new TLS bundle.
Log streaming is currently in tech preview.
Synopsis
Creates a new TLS bundle from PEM-encoded certificate files.
The CA certificate (--ca-pem) is required. The client certificate (--cert-pem) and private key (--key-pem) are optional. but must be provided together when a mutual TLS is required by the remote endpoint. Each flag accepts a path to a PEM file; the file contents are read and uploaded automatically.
Bash
xxxxxxxxxxlbcli create logs tls-bundles [flags]Examples
Bash
xxxxxxxxxx# Create a bundle with CA cert only (one-way TLS)lbcli -J $JWT create logs tls-bundles \ --name=loki-ca-bundle \ --ca-pem=/etc/ssl/certs/loki-ca.pem # Create a bundle for mutual TLSlbcli -J $JWT create logs tls-bundles \ --name=loki-mtls-bundle \ --ca-pem=/etc/ssl/certs/loki-ca.pem \ --cert-pem=/etc/ssl/certs/loki-client.pem \ --key-pem=/etc/ssl/private/loki-client-key.pem| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for tls-bundles. | |
| --name | string | Name of the TLS bundle (required). | ||
| --ca-pem | string | Path to the PEM file containing the CA certificate (required). | ||
| --cert-pem | string | Path to the PEM file containing the client certificate (optional, required for mTLS). | ||
| --key-pem | string | Path to the PEM file containing the client private key (optional, required for mTLS). |
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Next to read:
lbcli delete© 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