---
title: kSecAttrType
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattrtype
---

# kSecAttrType

A key with a value that indicates the item’s type.

## Declaration

```swift
let kSecAttrType: CFString
```

## Discussion

Discussion The corresponding value is of type CFNumber and represents the item’s type. This number is the unsigned integer representation of a four-character code (for example, ‘aTyp’).
