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

# SecKeychainCallbackInfo

Information about a keychain event that keychain services deliver to your app via a callback function.

```
struct SecKeychainCallbackInfo
```

## Overview

This structure contains information about the keychain event of which your application wants to be notified. Keychain services pass a pointer to this structure in the `info` parameter of your callback function. For information on how to write a keychain event callback function, see [`SecKeychainCallback`](/documentation/Security/SecKeychainCallback).

## Topics

### Instance Properties

[`item`](/documentation/Security/SecKeychainCallbackInfo/item)

A reference to the keychain item in which the event occurred. If the event did not involve an item, this field is not valid.

[`keychain`](/documentation/Security/SecKeychainCallbackInfo/keychain)

A reference to the keychain in which the event occurred. If the event did not involve a keychain, this field is not valid.

[`pid`](/documentation/Security/SecKeychainCallbackInfo/pid)

The ID of the process that generated this event.

[`version`](/documentation/Security/SecKeychainCallbackInfo/version)

The version of this structure.

### Initializers

[`init(version:item:keychain:pid:)`](/documentation/Security/SecKeychainCallbackInfo/init(version:item:keychain:pid:))

Creates a new keychain callback information structure.



---

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)