---
title: "init(provisioningCredentialIdentifier:cardConfigurationIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/pkshareablepassmetadata/init(provisioningcredentialidentifier:cardconfigurationidentifier:sharinginstanceidentifier:passthumbnailimage:ownerdisplayname:localizeddescription:)"
---

# init(provisioningCredentialIdentifier:cardConfigurationIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:)

Creates a shareable pass metadata object.

## Declaration

```swift
init?(provisioningCredentialIdentifier credentialIdentifier: String, cardConfigurationIdentifier: String, sharingInstanceIdentifier: String, passThumbnailImage: CGImage, ownerDisplayName: String, localizedDescription: String)
```

## Parameters

- `credentialIdentifier`: A value that represents the user credentials for the pass.
- `cardConfigurationIdentifier`: A value that represents the configuration of the pass.
- `sharingInstanceIdentifier`: A unique value that you use to validate the shared pass.
- `passThumbnailImage`: A thumbnail image for the pass.
- `ownerDisplayName`: The name of the person that receives the shared pass.
- `localizedDescription`: A longer form of the pass description.

## See Also

### Creating a shareable pass metadata object

- [init(provisioningCredentialIdentifier:sharingInstanceIdentifier:passThumbnailImage:ownerDisplayName:localizedDescription:accountHash:templateIdentifier:relyingPartyIdentifier:requiresUnifiedAccessCapableDevice:)](passkit/pkshareablepassmetadata/init(provisioningcredentialidentifier:sharinginstanceidentifier:passthumbnailimage:ownerdisplayname:localizeddescription:accounthash:templateidentifier:relyingpartyidentifier:requiresunifiedaccesscapabledevice:).md)
