Sign, verify, and display JWTs using the CLI
mainThe jwt tool allows you to sign, verify, and inspect JSON Web Tokens from the command line.
Important Requirements:
- Key files must be in PEM format. Other formats are not supported.
Common Tasks:
Sign and Verify a token in one pipeline: You can pipe a JSON payload into the tool to sign it, then pipe the resulting token into the tool again to verify it and output the original claims.
Display a token's contents: To simply inspect a token without signing or verifying, use the
-showflag.