<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "applicensedeliverysdk",
  "identifier" : "/documentation/AppLicenseDeliverySDK/ALDAppKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App License Delivery SDK"
    ],
    "preciseIdentifier" : "s:3ALD9ALDAppKeyV"
  },
  "title" : "ALDAppKey"
}
-->

# ALDAppKey

A structure that identifies an app and a key that’s required to decrypt the app’s license request.

```
struct ALDAppKey
```

## Overview

An instance of this structure represents a unique variant for an app. The <doc://com.apple.documentation/documentation/MarketplaceKit/AppleItemID> argument to the [`init(appleItemID:appKeyBlob:)`](/documentation/AppLicenseDeliverySDK/ALDAppKey/init(appleItemID:appKeyBlob:)) initializer refers to the app, and the `appKeyBlob` argument refers to a *key blob* for a specific app variant that App Store Connect provides your marketplace server during app ingestion. For more information, see <doc://com.apple.documentation/documentation/marketplacekit/ingesting-an-alternative-distribution-package>.

## Topics

### Initializers

[`init(appleItemID: UInt64, appKeyBlob: [UInt8]) throws`](/documentation/AppLicenseDeliverySDK/ALDAppKey/init(appleItemID:appKeyBlob:))

Creates an app key to decrypt a license request.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)