Configure capabilities

Create a Maps identifier and private key

To communicate with the MapKit JS, you’ll use a Maps private key to sign one or more developer tokens.

First register a Maps identifier to identify your app. Register a Maps identifier for each app that uses MapKit JS. Next create and download a private key with MapKit JS enabled and associate it with the Maps identifier. You can associate two keys with each Maps identifier.

Then get the key identifier (kid) to create a JSON Web Token (JWT) that you’ll use to communicate with the capabilities you enabled.

If you suspect a private key is compromised, first create a new private key associated with the Maps identifier. Then, after transitioning to the new key, revoke the old private key.

Register a Maps identifier

  1. In Certificates, Identifiers & Profiles, click Identifiers in the sidebar.

  2. On the top left, click the add button (+), select Maps IDs, then click Continue.

  3. Enter the app name as the description.

  4. Enter a reverse-domain name style string for the identifier, then click Continue.

  5. Review the information, then click Register.

  6. Click Done.