---
title: kSecValueData
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecvaluedata
---

# kSecValueData

A key whose value is the item’s data.

## Declaration

```swift
let kSecValueData: CFString
```

## Mentioned in

Searching for keychain items Updating and deleting keychain items

## Discussion

Discussion The corresponding value is of type CFData.  For keys and password items, the data is secret (encrypted) and may require the user to enter a password for access.
