Developer Console

Configure Unity App with Public Key

To establish a secure communication channel between the Amazon Appstore and your app, you must configure your app with a public key. This public key is unique for every app. When you generate the public key from the Developer Console, Amazon generates a corresponding private key. These public and private keys form a key pair to sign license responses. Through this key pairing, you ensure that the users who install your app are authorized.

To configure your existing app with the public key:

  1. Log into the Developer Console with your developer account.
  2. Go to Apps & Services > My Apps. Then click your app. If you don't already have an app, see Submitting Apps to the Amazon Appstore.

  3. Create a new version of your app. In the area below your app's name, click Add Upcoming Version.

  4. Go to the Upload Your App File screen.

  5. In the Additional information section, click View public key.

  6. In the Public Key dialog box that appears, click the AppstoreAuthenticationKey.pem link to download a PEM file. This file contains your public key.

    The Public Key window showing a public key string. A download icon followed by the link text 'AppstoreAuthenticationKey.pem' is shown.
    PEM file download link
  7. In the Assets folder of your project, create a new folder named as StreamingAssets.

  8. Copy the AppstoreAuthenticationKey.pem file you downloaded, and paste it in your Assets/StreamingAssets folder.

Last updated: Oct 02, 2023