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

# SecKeychainPromptSelector

Bits that define when a keychain should require a passphrase.

```
struct SecKeychainPromptSelector
```

## Topics

### Constants

[`requirePassphase`](/documentation/Security/SecKeychainPromptSelector/requirePassphase)

Indicates that a passphrase should be required for every access.

[`unsigned`](/documentation/Security/SecKeychainPromptSelector/unsigned)

Indicates that a passphrase should be required when an unsigned application attempts to use the keychain, overriding the system default.

[`unsignedAct`](/documentation/Security/SecKeychainPromptSelector/unsignedAct)

Indicates that a passphrase should be required when an unsigned application attempts to use the keychain.

[`invalid`](/documentation/Security/SecKeychainPromptSelector/invalid)

Indicates that a passphrase should be required when an application with an invalid signature attempts to use the keychain, overriding the system default.

[`invalidAct`](/documentation/Security/SecKeychainPromptSelector/invalidAct)

Indicates that a passphrase should be required when an application with an invalid signature attempts to use the keychain.

### Initializers

[`init(rawValue:)`](/documentation/Security/SecKeychainPromptSelector/init(rawValue:))

Initializes a keychain prompt selector.



---

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)