---
title: kSecAttrLabel
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrlabel
---

# kSecAttrLabel

A key with a value that’s a string indicating the item’s label.

## Declaration

```swift
let kSecAttrLabel: CFString
```

## Mentioned in

Adding a password to the keychain Storing a Certificate in the Keychain

## Discussion

Discussion The corresponding value is of type CFString and contains the user-visible label for this item. On key creation, if not explicitly specified, this attribute defaults to NULL.
