<!--
{
  "availability" : [
    "iOS: 4.0.0 - 12.0.0",
    "iPadOS: 4.0.0 - 12.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.9.0 - 10.14.0",
    "tvOS: 9.0.0 - 12.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 5.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kSecAttrAccessibleAlways",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@kSecAttrAccessibleAlways"
  },
  "title" : "kSecAttrAccessibleAlways"
}
-->

# kSecAttrAccessibleAlways

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

```
let kSecAttrAccessibleAlways: CFString
```

## Discussion

This is not recommended for application use. Items with this attribute migrate to a new device when using encrypted backups.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)