---
title: kSecAttrGeneric
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrgeneric
---

# kSecAttrGeneric

A key whose value indicates the item’s user-defined attributes.

## Declaration

```swift
let kSecAttrGeneric: CFString
```

## Discussion

Discussion The corresponding value is of type CFData and contains a user-defined attribute. Items of class kSecClassGenericPassword have this attribute.
