---
title: Creating an Apple private key
description: To allow PingFederate to process social sign-on requests with Apple, add PingFederate as an OpenID Connect application in the Apple administrative console. PingFederate uses the resulting private key to sign the client secret JWT that it sends to Apple.
component: apple
page_id: apple:setup:pf_apple_cic_creating_an_apple_private_key
canonical_url: https://docs.pingidentity.com/integrations/apple/setup/pf_apple_cic_creating_an_apple_private_key.html
revdate: June 28, 2024
section_ids:
  steps: Steps
---

# Creating an Apple private key

To allow PingFederate to process social sign-on requests with Apple, add PingFederate as an OpenID Connect application in the Apple administrative console. PingFederate uses the resulting private key to sign the client secret JWT that it sends to Apple.

## Steps

1. Sign on to the Apple [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources/identifiers/list) page using an Apple Developer administrator account.

2. On the **Keys** page, next to the **Keys** heading, click **Add (+)**.

3. On the **Register a New Key** page, in the **Key Name** field, enter a name, such as `My PingFederate Client Secret Signing Key`.

4. Select **Sign in with Apple**. Click **Configure**.

5. On the **Configure Key** page, from the **Choose a Primary App ID** list, select the app that you registered in [Registering an Apple app](pf_apple_cic_registering_an_apple_app.html). Click **Save**.

6. On the **Register a New Key** page, click **Continue**.

7. Verify your configuration, and then click **Register**.

8. On the **Download Your Key** page, note the **Key ID**. You will use this in [Configuring an adapter instance](pf_apple_cic_configuring_an_adapter_instance.html).

9. Click **Download**, and then save the `.p8` file. You will use this in [Configuring an adapter instance](pf_apple_cic_configuring_an_adapter_instance.html). Click **Done**.

   |   |                                                                         |
   | - | ----------------------------------------------------------------------- |
   |   | You can only download your private key once. Keep it in a secure place. |
