An open API service indexing awesome lists of open source software.

https://github.com/trstringer/jwt-creator

Utility to quickly and easily create and verify JSON web tokens (JWT)
https://github.com/trstringer/jwt-creator

jwt jwt-authentication jwt-token pki

Last synced: 9 months ago
JSON representation

Utility to quickly and easily create and verify JSON web tokens (JWT)

Awesome Lists containing this project

README

          

# jwt-creator

Quickly and easily create and verify JWTs.

## Installation

```
$ go install github.com/trstringer/jwt-creator@latest
```

## Create a JWT

```
$ jwt-creator create \
--private-key-file myprivatekey.pem \
--issued-at-now --expires-in-seconds 300 \
--issuer myissuer
```

## Verify a JWT

```
$ jwt-creator verify \
--public-key-file mypublickey.pem \
--token
```