<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecKeyImportExportParameters/alertPrompt",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@SA@SecKeyImportExportParameters@FI@alertPrompt"
  },
  "title" : "alertPrompt"
}
-->

# alertPrompt

The prompt to display in the secure passphrase alert panel.

```
var alertPrompt: Unmanaged<CFString>
```

## Discussion

When importing or exporting a key, if you set the [`securePassphrase`](/documentation/Security/SecKeyImportExportFlags/securePassphrase) flag bit, you can optionally use this field to specify a string for the prompt that appears in the password panel.

---

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)