webauthn_credentials


Description

{“what”:“Collection of WebAuthn credentials, each row is one registered authenticator for a user.”,“why”:“Without it, users cannot authenticate via WebAuthn and we lose the mapping between user and authenticator.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.482573903+00:00”}

Columns

Column Type Size Nulls Auto Default Children Parents Comments
record_id text 2147483647 null

{“what”:“Unique identifier for this credential record, a UUID or similar text key.”,“why”:“Without it, rows cannot be uniquely referenced for updates or deletion.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.499589295+00:00”}

user_id text 2147483647 null

{“what”:“Identifier of the user who owns this credential, matches user table’s id.”,“why”:“Without it, we cannot know which user a credential belongs to, breaking authentication lookup.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.533847483+00:00”}

credential bytea 2147483647 null

{“what”:“Binary WebAuthn credential data, typically the public key and attestation info.”,“why”:“Without it, we cannot verify authentication signatures or perform WebAuthn assertions.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.576585214+00:00”}

friendly_name text 2147483647 √ null

{“what”:“Human-readable label for the credential, e.g., ‘YubiKey’ or ‘Phone’.”,“why”:“Without it, users cannot distinguish multiple credentials in a management UI.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.602238633+00:00”}

platform text 2147483647 √ null

{“what”:“Platform or device type where the credential was created, e.g., ‘cross-platform’ or ‘platform’.”,“why”:“Without it, we cannot filter credentials by authenticator type for UX or security decisions.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.626620234+00:00”}

created_at timestamptz 35,6 now()

{“what”:“Timestamp when the credential was registered, in UTC with timezone.”,“why”:“Without it, we cannot track credential age or enforce rotation policies.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.650224040+00:00”}

last_used_at timestamptz 35,6 √ null

{“what”:“Timestamp of the last successful authentication using this credential, in UTC.”,“why”:“Without it, we cannot identify inactive credentials for cleanup or security review.”,“by”:“fleet-annotator-worker”,“at”:“2026-09-22T23:57:12.735476851+00:00”}

Indexes

Constraint Name Type Sort Column(s)
webauthn_credentials_pkey Primary key Asc record_id
idx_wc_user Performance Asc user_id

Relationships