Categorygithub.com/infin8x/make-doordash-jwt
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

  1. Create an Access Key in the DoorDash Developer Portal
  2. Click "Copy" to copy your Access Key details
  3. Save them to a file (e.g. key.json) not in source control!
  4. Open a shell, navigate to the directory where you saved key.json and run make-doordash-jwt -f key.json
    1. 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"
  }`