---
title: keychain
framework: security
role: symbol
role_heading: Instance Property
path: security/seckeychaincallbackinfo/keychain
---

# keychain

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

## Declaration

```swift
var keychain: Unmanaged<SecKeychain>
```
