repositorypackage
1.0.3
Repository: https://github.com/infin8x/make-doordash-jwt.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
make-doordash-jwt
: A command-line tool to generate a DoorDash Developer JWT
This simple CLI tool takes a DoorDash Access Key (a JSON object comprised of a developerId
, key_id
, and signing_secret
and creates a JWT.
How to install
If you have Go installed:
go install github.com/infin8x/make-doordash-jwt
How to use
- Create an Access Key in the DoorDash Developer Portal
- Click "Copy" to copy your Access Key details
- Save them to a file (e.g.
key.json
) not in source control! - Open a shell, navigate to the directory where you saved
key.json
and runmake-doordash-jwt -f key.json
- Alternatively, you can provide the Access Key directly on the command line. Make sure to surround it with single quotes ("`").
make-doordash-jwt -o `{
"developer_id": "14e84291-d900-4c20-8528-ed6ca8de660f",
"key_id": "d4e87d9c-432b-4ab4-b06f-254ce7a1ef30",
"signing_secret": "xVu_RIEHqVw0ISBOqklCrKTIrlxX47TiexoJIY8_naw"
}`