---
title: keychain()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfkeychainsavepanel/keychain()
---

# keychain()

Returns the keychain created by the keychain save panel.

## Declaration

```swift
func keychain() -> Unmanaged<SecKeychain>!
```

## See Also

### Returning Information from the Sheet or Panel

- [error()](securityinterface/sfkeychainsavepanel/error().md)
