---
title: "exportCredentials(_:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/ascredentialexportmanager/exportcredentials(_:)"
---

# exportCredentials(_:)

Exports the provided credential data.

## Declaration

```swift
func exportCredentials(_ credentialData: ASExportedCredentialData) async throws
```

## Parameters

- `credentialData`: The credential data to export.

## Discussion

Discussion After you call the requestExport(for:) method and collect the credentials to export, pack the credentials into an ASExportedCredentialData object and call this method.

## See Also

### Exporting credentials

- [requestExport(for:)](authenticationservices/ascredentialexportmanager/requestexport(for:).md)
- [ASCredentialExportManager.ExportOptions](authenticationservices/ascredentialexportmanager/exportoptions.md)
- [ASExportedCredentialData](authenticationservices/asexportedcredentialdata.md)
