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
Copy Markdown
Open in ChatGPT
Open in Claude
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
Bash
# 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 $JWTExample of parsed output:
Bash
Header:alg: RS256kid: system:roottyp: JWTClaims:iss: /home/user/ansible/lightos-certificates/cert-lb-admin-key.pemroles: [system:cluster-admin]aud: LightOSsub: lightos-clientiat: 2025-03-20T13:05:35Zexp: 2026-03-20T13:05:35Z| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help forjwt. | |
| --jwt | string | JWT token as a command line argument. | ||
| --jwt-file | string | Path to the JWT file. |
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 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