<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kSecAttrApplicationLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@kSecAttrApplicationLabel"
  },
  "title" : "kSecAttrApplicationLabel"
}
-->

# kSecAttrApplicationLabel

A key whose value indicates the item’s application label.

```
let kSecAttrApplicationLabel: CFString
```

## Discussion

The corresponding value is of type <doc://com.apple.documentation/documentation/CoreFoundation/CFData> and contains a label for this item. This attribute is different from the [`kSecAttrLabel`](/documentation/Security/kSecAttrLabel) attribute, which is intended to be human-readable. Instead, this attribute is used to look up a key programmatically; in particular, for keys of class [`kSecAttrKeyClassPublic`](/documentation/Security/kSecAttrKeyClassPublic) and [`kSecAttrKeyClassPrivate`](/documentation/Security/kSecAttrKeyClassPrivate), the value of this attribute is the hash of the public key.

---

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)