Short answer: in App Store Connect, go to Users and Access, then Integrations, and generate a key. Team keys are created by the Account Holder or an Admin and apply to all apps; individual keys belong to one user. The private key can be downloaded only once.
Step 0: access to the API
The Account Holder must request API access first: Users and Access, Integrations, Request Access, accept the agreement and submit. Apple reviews requests case by case.
Source: Apple, App Store Connect API.
Team keys and individual keys
| Team key | Individual key | |
|---|---|---|
| Who can generate | Account Holder or Admin | Account Holder, Admin, App Manager, Customer Support, Developer or Marketing |
| Scope | All apps; app access cannot be limited | Tied to one user |
| Limit | Apple states no limit on that page | One active key per user |
| Where | Users and Access, Integrations, Team Keys | Your username, Edit Profile, Individual API Key |
By default every App Store Connect user can generate and revoke individual keys, unless an Admin or the Account Holder removed that permission.
Create a team key
- Go to Users and Access, then Integrations, then Team Keys, and click Generate API Key (or the add button if you already have an active key).
- Enter a name. It is only for your reference and is not part of the key.
- Under Access, choose the role permissions the key needs, then click Generate.
- Download the private key.
You cannot edit the name or the access level after generating. To change either, revoke the key and create a new one. Pick the smallest role that does the job; Shipmate, for example, asks for a team key with the App Manager or Admin role.
The private key downloads once
Apple says API keys are private and can be downloaded only once. Store the file somewhere safe and revoke the key immediately if it is lost or compromised. Do not commit it to a repository or send it in chat.
Revoke a key
The Account Holder or an Admin can revoke: Integrations, open Team Keys or Individual Keys, click Edit, select the keys, then Revoke Key. A revoked key cannot be reinstated. Keys revoked in the past 30 days appear in the Revoked section.
Enterprise Program: Apple says team and individual key functionality is not available for the Enterprise Program API. Members of that program should use the Enterprise Program API.
Frequently asked questions
Who can create an App Store Connect API team key?
The Account Holder or an Admin, after the Account Holder has requested API access.
Can I limit a team key to one app?
No. Apple says app access cannot be limited for an API key.
I lost the private key. Can I download it again?
No. It can be downloaded only once. Revoke the key and generate a new one.
Can I change a key's role afterwards?
No. The name and access level cannot be edited. Revoke the key and generate a new one.
Your key stays on your Mac
Shipmate stores the App Store Connect key in the macOS Keychain, signs requests locally and talks to Apple's API directly. There is no Shipmate account or server. It needs a team key with the App Manager or Admin role, and your vendor number for sales reports.
