<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASCredentialExportManager/requestExport(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "s:22AuthenticationServices25ASCredentialExportManagerC07requestD03forAC0D7OptionsVSSSg_tYaKF"
  },
  "title" : "requestExport(for:)"
}
-->

# requestExport(for:)

Begins the export process.

```
func requestExport(for extensionBundleIdentifier: String? = nil) async throws -> ASCredentialExportManager.ExportOptions
```

## Parameters

`extensionBundleIdentifier`

If your application contains more than one credential provider extension, pass the bundle identifier of the extension performing the export. If your application contains exactly one credential provider extension, you may pass `nil` to indicate you’re exporting on behalf of that extension. If your application contains more than one credential provider extension, it’s an error to pass `nil`.

## Return Value

The selected set of export options.

## Discussion

Calling this method brings up the out-of-process system UI that guides someone using your app through the export flow.
After they determine the necessary options, this method returns the selected options to your app.
At that point, call [`exportCredentials(_:)`](/documentation/AuthenticationServices/ASCredentialExportManager/exportCredentials(_:)) with the exported credentials in the specified format.

This method throws an error if the export can’t proceed, which occurs if there are no import apps available, or if the device isn’t configured with a passcode, Touch ID, or Face ID.

---

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)