---
title: kSecAttrAccessibleAlwaysThisDeviceOnly
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecattraccessiblealwaysthisdeviceonly
---

# kSecAttrAccessibleAlwaysThisDeviceOnly

The data in the keychain item can always be accessed regardless of whether the device is locked.

## Declaration

```swift
let kSecAttrAccessibleAlwaysThisDeviceOnly: CFString
```

## Discussion

Discussion This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
