Skip to main content

App Store Connect API Key

You can add, delete and manage iOS Certificates and Provisioning Profiles manually using Appcircle. There is also an easier way. By linking your Apple Developer account to Appcircle, you can see a list of certificates and provisioning profiles and pick the ones you want to use for building and distributing.

To link your Apple Developer account, you need an App Store Connect API Key from Apple's App Store Connect Panel.

Login to App Store Connect

Go to

Preview of appstoreconnect.apple.com
and login with your account.

Screenshot
caution

Make sure that the correct team is selected on the top right. For developer accounts that belong to multiple teams, this is important.

Once the team is correct, select Users and Access from the menu:

Screenshot

After navigating to Users and Access, you will see 4 tabs next to the title. Select the Integrations tab. Then make sure that App Store Connect API is selected from the list on the left.

Screenshot

Generating a New Key

To generate a new key, press the + button.

caution

Only Account Holders can enable the API Key generation. If you see a disabled Request Access button, contact your account holder and make them follow the steps above. After they request access, you can create new keys.

Screenshot

A modal popup will ask you to enter a name and add roles for this key:

Screenshot
caution

The Admin access is required to create new and download certificates or provisioning profiles. You can also give access to certain users, and on per app basis, but they require additional configuration from Apple Developer Portal.

To see a list of permissions each role has, visit:

Preview of Apple Developer Program Roles - Access - Account - Help - Apple Developer

Downloading the Key

After generating the key, download the key file by pressing Download API Key next to it.

Screenshot
caution

You can only download the file once. If you lose the file, you need to generate a new key.

Linking Appcircle with App Store Connect

Adding a key to Appcircle is pretty easy. Go to your organization by either selecting the bottom left button from the toolbar, or picking it from the menu:

Screenshot

On the Organization screen, select Add New on App Store Connect API Keys list item:

Screenshot

On the form, upload the .p8 key file downloaded from App Store Connect:

Screenshot

Fill in the rest of the form. You can find the Key ID and Issuer ID from App Store Connect Panel here:

Screenshot

Copy and paste them to the form in Appcircle, give it a name, and save.

info

You can add multiple keys. We'll ask you which key to use while downloading a certificate.

Enterprise API Key Option for App Store Connect

The App Store Connect Enterprise API Key is a crucial component for managing Apple Enterprise accounts within Appcircle. This API key allows seamless integration with App Store Connect, enabling automated provisioning, certificate management, and distribution processes for enterprise applications.

Prerequisites

Before using the App Store Connect Enterprise API Key, ensure that:

  • You have an Apple Developer Enterprise Program account.
  • You have Admin or Account Holder privileges in App Store Connect.
  • Your App Store Connect account supports API access.
Screenshot

Adding the API Key to Appcircle

Once the API key is generated, it must be added to Appcircle:

  1. Navigate to the Organization module in Appcircle.
  2. Click Add New next to the App Store Connect API Keys section under Credentials area.
  3. Upload the downloaded .p8 file.
  4. Enter the Key ID and Issuer ID obtained from App Store Connect.
  5. Select the Enterprise API Key option for enterprise account integration.
  6. Click Save to complete the setup.
info

Please note that the registered Enterprise API Key cannot be used within the Publish module because the Apple Enterprise Program does not provide TestFlight or App Store Connect services.