Skip to content

Hirevo/apple-music-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Music JWT

This is an Apple Music developer token generator, written in Rust.
It generates the JSON Web Token, given a team ID, a key ID and its associated private key file.

Here's the official documentation from Apple on how it is done and how to get the necessary keys:

Usage

USAGE:
    apple-music-jwt [OPTIONS] <PRIVATE_KEY> --key-id <key_id> --team-id <team_id>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -e, --expires-in <expires_in>    The duration for which the token must be valid (exp).
    -k, --key-id <key_id>            The Key ID to use (kid).
    -t, --team-id <team_id>          The Team ID to use (iss).

ARGS:
    <PRIVATE_KEY>    The path to the private key to use.

About

An Apple Music developer token generator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages