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

# credentialID

An identifier that the authenticator generates during registration to uniquely identify a specific credential.

## Declaration

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

## See Also

### Getting the properties

- [rawClientDataJSON](authenticationservices/aspublickeycredential/rawclientdatajson.md)
