apple-jwt
Generate JSON Web Tokens for MusicKit JS and MapKit JS using an intuitive CLI
Usage
$ npm install -g apple-jwt
$ apple-jwt COMMAND
running command...
$ apple-jwt (-v|--version|version)
apple-jwt/1.0.2 darwin-x64 node-v10.9.0
$ apple-jwt --help [COMMAND]
USAGE
$ apple-jwt COMMAND
...
Commands
apple-jwt help [COMMAND]
display help for apple-jwt
USAGE
$ apple-jwt help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
apple-jwt sign KEYPATH ISS [KID]
Signs an Apple JWT token
USAGE
$ apple-jwt sign KEYPATH ISS [KID]
ARGUMENTS
KEYPATH path to p8 key
ISS Apple Developer Team ID that issued the key
KID Key ID (leave empty to auto-detect)
OPTIONS
--exp=exp [default: 2 days] Validity time expressed in seconds or a string describing a time span (default: "2
days")
--origin=origin Limit token to specified origin (e.g. "https://bygeorgenet.me")
See code: src/commands/sign.js
apple-jwt ui
Starts interactive signing UI
USAGE
$ apple-jwt ui
See code: src/commands/ui.js