Configuring iOS .p8 Key for Token-Based Connection to APNs

This guide will help you through the configuration process for iOS .p8 Key for Token-Based Connection to APNS.

  1. Navigate to Apple Developer Portal and login to your account.
  2. Proceed to Certificates, Identifiers & Profiles.
  3. Click Keys from the side navigation, then click the Add button (+).
  4. Enter a unique key name to Register a New Key and select the Apple Push Notifications service (APNs) checkbox.
  5. Click Continue. You are automatically landed to a page with the option to Download the .p8 auth key file.
  6. Click Download. The text file with a .p8 file extension is downloaded.

📘

Note

Please ensure you store this file securely as the key is not retained in your developer account and can be retrieved only once. If you lost the key file, you will need to revoke it and register a new one.