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

# credentialID

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

## Declaration

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