<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecKeychainItem",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@T@SecKeychainItemRef"
  },
  "title" : "SecKeychainItem"
}
-->

# SecKeychainItem

An opaque type that represents a keychain item.

```
class SecKeychainItem
```

## Overview

A [`SecKeychainItem`](/documentation/Security/SecKeychainItem) object for a certificate that is stored in a keychain can be safely cast to a [`SecCertificate`](/documentation/Security/SecCertificate) for use with [Certificate, Key, and Trust Services](/documentation/Security/certificate-key-and-trust-services).

---

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)