Simple command-line tool to manipulate JWT tokens
Run jwt-tool
without any parameters to start interactive console UI:
./jwt-tool
Run jwt-tool
with command line parameters to trigger batch mode
./jwt-tool <command> [<parameters>]
./jwt-tool --help
The only supported command for now is create
. Parameters are:
--to-clipboard
to export generated JWT token to clipboard--payload <name> <value>
to add key-value pair to JWT payload/claim. Required claims areuser_id
andemail
.