# `Ithibati.UserKey`
[🔗](https://github.com/oliverandrich/ithibati/blob/v0.6.2/lib/ithibati/user_key.ex#L1)

Stores a passkey's credential ID, serialized public key, label and last-use timestamp.

Use `Ithibati.Identity.Passkeys` to enrol, list, rename and revoke credentials. A blank or absent
label is stored as `"Passkey"`; labels are limited to `label_max/0` graphemes.

# `credential_id_max`

Returns the maximum stored credential-ID length in bytes.

# `label_max`

Returns the maximum label length in graphemes.

Enrolment and rename truncate labels to this length before trimming whitespace. The database
column itself has no length limit.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
