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.
If you have Go installed:
go install github.com/infin8x/make-doordash-jwtIf you don't have Go installed:
- Select the latest release from the sidebar on the right (look for "v1.0.[something]")
- Download the version appropriate for your system
- Tip: darwin-amd64is probably what you want if you have a Mac;windows-amd64.exe, if you have a Windows machine.
 
- Tip: 
- 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!- If you downloaded the tool earlier, put key.jsonin the same directory where you downloaded the tool
 
- If you downloaded the tool earlier, put 
- Open a shell (terminal) and navigate to the directory where you saved key.jsonand run the appropriate command from the selection below
make-doordash-jwt -f key.jsonAlternatively, you can provide the Access Key directly on the command line. Make sure to surround it with single quotes ("`"). See below for an example:
make-doordash-jwt -o `{
    "developer_id": "14e84291-d900-4c20-8528-ed6ca8de660f",
    "key_id": "d4e87d9c-432b-4ab4-b06f-254ce7a1ef30",
    "signing_secret": "xVu_RIEHqVw0ISBOqklCrKTIrlxX47TiexoJIY8_naw"
  }`.\make-doordash-jwt-darwin-amd64 -f key.jsonThis assumes you're using PowerShell, not cmd.
.\make-doordash-jwt-windows-amd64.exe -f key.json