<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppLicenseDeliverySDK",
  "identifier" : "/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/addAppKey(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "App License Delivery SDK"
    ],
    "preciseIdentifier" : "s:3ALD19ALDLicenseAttributeV9addAppKeyyyAA06ALDAppF0VKF"
  },
  "title" : "addAppKey(_:)"
}
-->

# addAppKey(_:)

Add an AppKey to be associated with this license

```
mutating func addAppKey(_ appKey: ALDAppKey) throws
```

## Parameters

`appKey`

An ALDAppKey object to be associated with the license

---

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)