as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

Test IAP in Production Mode

Vega supports Live App Testing (LAT), enabling you to test your app in an Amazon production environment before it's live in Amazon's production app catalog. To test your IAP content with LAT, enable production mode on your app. Then configure your app's public key and add permissions to your app manifest to enable production mode.

Configure your app's public key

The unique public key establishes a secu re communication channel between the Amazon Appstore and your 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 authorize the users who install your app.

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 and click your app. If you don't already have an app, see Submit Your App to the Amazon Appstore.
  3. Create a new version of your app. In the area following your app's name, click Upcoming Version.
  4. Go to the Upload Your App File screen.
  5. Click the View public key in the Additional information section.
  6. Click the AppstoreAuthenticationKey.pem link in the Public Key dialog box, to download a PEM file. This file contains your public key.

    The Public Key window showing a public key string. A images shows a download icon followed by the link text `AppstoreAuthenticationKey.pem`.
    PEM file download link
  7. Copy the AppstoreAuthenticationKey.pem file, and paste it into the assests/raw folder of your app's root directory.

Add IAP permissions

In your app's manifest.toml file, add the following IAP permissions.

Copied to clipboard.

[wants]
  [[wants.service]]
    id = "com.amazon.iap.core.service"
  [[wants.module]]
    id = "/com.amazon.iap.core@IIAPCoreUI"

Remove config files from tmp folder

To use production mode, remove the files from the tmp folder if they still exist.

  1. Navigate to your app's /tmp folder. You should see a subfolder /scratch/your-app-id.
  2. Check for a file named amazon.config.json in this subfolder.
  3. Remove the amazon.config.json file if you have one.

Push the config file back to your tmp folder if you need to test in sandbox mode again.

Live App Testing

After you enable production mode, you can continue with LAT for Vega.


Last updated: Jan 30, 2026