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 parse jwt
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Parses a jwt token.
Synopsis
Parses a JWT token and prints the header and payload information in a human-readable format.
If a JWT token is not explicitly provided, the command will attempt to locate the system’s JWT from default locations, if available.
Examples
# Parse the JWT token from a given JWT file path or from a command line argument
lbcli parse jwt --jwt-file=/path/to/jwt/file
lbcli parse jwt -J $JWT
Example of parsed output:
Header:
alg: RS256
kid: system:root
typ: JWT
Claims:
iss: /home/user/ansible/lightos-certificates/cert-lb-admin-key.pem
roles: [system:cluster-admin]
aud: LightOS
sub: lightos-client
iat: 2025-03-20T13:05:35Z
exp: 2026-03-20T13:05:35Z
Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | Help for | |
--jwt | string | JWT token as a command line argument. | ||
--jwt-file | string | Path to the JWT file. |
Last updated on
Was this page helpful?
Next to read:
lbcli rollback© 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