---
title: credentialID
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/aspasskeycredentialidentity/credentialid
---

# credentialID

The credential identifier for this passkey credential identity.

## Declaration

```swift
var credentialID: Data { get }
```

## Discussion

Discussion Use the credential identifier, along with the userHandle, to identify the correct credential to use for a given relying party request.

## See Also

### Distinguishing identities

- [recordIdentifier](authenticationservices/aspasskeycredentialidentity/recordidentifier.md)
