---
title: SFKeychainSettingsPanel
framework: securityinterface
role: symbol
role_heading: Class
path: securityinterface/sfkeychainsettingspanel
---

# SFKeychainSettingsPanel

A panel or sheet that allows users to change their keychain settings.

## Declaration

```swift
class SFKeychainSettingsPanel
```

## Overview

Overview Keychain settings include: Lock after a set period of inactivity Lock on sleep Synchronize using .Mac The following figure shows an example of a keychain settings panel.

For more information, see Keychain Services Programming Guide.

## Topics

### Returning a shared keychain save panel object

- [shared()](securityinterface/sfkeychainsettingspanel/shared().md)

### Displaying a sheet or panel

- [beginSheet(for:modalDelegate:didEnd:contextInfo:settings:keychain:)](securityinterface/sfkeychainsettingspanel/beginsheet(for:modaldelegate:didend:contextinfo:settings:keychain:).md)
- [runModal(for:keychain:)](securityinterface/sfkeychainsettingspanel/runmodal(for:keychain:).md)

## Relationships

### Inherits From

- [NSPanel](appkit/nspanel.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSAccessibilityElementProtocol](appkit/nsaccessibilityelementprotocol.md)
- [NSAccessibilityProtocol](appkit/nsaccessibilityprotocol.md)
- [NSAnimatablePropertyContainer](appkit/nsanimatablepropertycontainer.md)
- [NSAppearanceCustomization](appkit/nsappearancecustomization.md)
- [NSCoding](foundation/nscoding.md)
- [NSMenuItemValidation](appkit/nsmenuitemvalidation.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSStandardKeyBindingResponding](appkit/nsstandardkeybindingresponding.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [NSUserActivityRestoring](appkit/nsuseractivityrestoring.md)
- [NSUserInterfaceItemIdentification](appkit/nsuserinterfaceitemidentification.md)
- [NSUserInterfaceValidations](appkit/nsuserinterfacevalidations.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Classes

- [SFAuthorizationPluginView](securityinterface/sfauthorizationpluginview.md)
- [SFAuthorizationView](securityinterface/sfauthorizationview.md)
- [SFCertificatePanel](securityinterface/sfcertificatepanel.md)
- [SFCertificateTrustPanel](securityinterface/sfcertificatetrustpanel.md)
- [SFCertificateView](securityinterface/sfcertificateview.md)
- [SFChooseIdentityPanel](securityinterface/sfchooseidentitypanel.md)
- [SFChooseIdentityTableCellView](securityinterface/sfchooseidentitytablecellview.md)
- [SFKeychainSavePanel](securityinterface/sfkeychainsavepanel.md)
