the person
what the ceremony produced
Optionalopts: any
upgrade (#939): { credentialId, mode }, the classical
passkey this key upgrades and what the write does to it — replace
puts this key in its place, alongside keeps it beside this one
{ ok: true, username, credentialId, … }, or a refusal
Records a security key whose registration ceremony the caller has already verified.