Generating Tokens for API requests

Hi Everyone,

I'm trying to generate a token for API requests on the AppStore Connect, I follow the following procedure : https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests#3878467

Everything works fine until I have to sign the JWT on JWT.io. On JWT.io they ask for the public and private key to generate the encoded token. I got the private key from AppStore Connect but where can i get the public key linked to my private key ?

Thank you in advance, it would be very helpful if someone has already solved this. Tristan

To get your key ID(kid), copy it from App Store Connect by logging in to App Store Connect, then: Select Users and Access, then select the Keys tab.

To get your private key, download the file, ending with '.p8', associated with your key ID.

Generating Tokens for API requests
 
 
Q