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 update logs tls-bundles
Copy Markdown
Open in ChatGPT
Open in Claude
Updates an existing TLS bundle.
Log streaming is currently in tech preview.
Synopsis
Replaces the certificates in an existing TLS bundle. The bundle is fully replaced; supply all PEM files you want to keep (the same flags as "create"). Any targets referencing this bundle will automatically use the updated certificates on the next reload.
Bash
xxxxxxxxxxlbcli update logs tls-bundlesExamples
Bash
xxxxxxxxxx# Rotate the CA cert for an existing bundlelbcli -J $JWT update logs tls-bundles \ --name=loki-ca-bundle \ --ca-pem=/etc/ssl/certs/loki-ca-new.pem # Update to add client cert + key (upgrade from one-way to mutual TLS)lbcli -J $JWT update logs tls-bundles \ --name=loki-ca-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). |
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 upgrade© 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