Manage service configurations

iWork Document Exporting

Members of the Apple Developer Programs can integrate with the iWork APIs. These APIs enable you to convert iWork documents from apps such as Numbers, Pages, and Keynote into PDF documents that people can view using the Preview app or another PDF reader application. Generate the necessary authorization assets to integrate with these APIs in Certificates, Identifiers, and Profiles.

Configure a Services ID for iWork Document Exporting

  1. In Certificates, Identifiers & Profiles, click Identifiers in the sidebar.
  2. On the top left, click the add button (+), select Services IDs, then click Continue.
  3. Enter your website name or another unique 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.
  7. Once registered, click the identifier you registered.
  8. Select iWork Document Exporting on this identifier, then click Continue.
  9. Click Save.

Configure an authorization key for iWork Document Exporting

  1. In Certificates, Identifiers & Profiles, click Keys in the sidebar, then click the add button (+) on the top left.
  2. Under Key Name, enter a unique name for the key.
  3. Select iWork Document Exporting, then click Continue.
  4. Click Configure and select the Services ID registered and enabled for this feature. You can associate two keys with each identifier.
  5. Optionally, click Download to generate and download the key now.
  6. If you download the key, it’s saved as a text file with a .p8 file extension in the Downloads folder.
  7. Note the key identifier (kid) as you’ll need it to communicate with the iWork Document Exporting API.
  8. Click Done.

Required role: Account Holder or Admin.

Key Management Notes

  • Save the authorization key in a secure place, as it’s not saved in your developer account and you won’t be able to download it again. If the Download button is disabled, you previously downloaded the key.
  • If you suspect a private key is compromised, first create a new private key associated with the Services ID. Then, after transitioning to the new key, revoke the old private key.