Lost Hardware Key
scenarioThe hardware key is gone—lost, stolen, or broken (a broken key is the same scenario as a lost one). What happens next depends entirely on one earlier decision: whether your keys were non-resident or resident, and whether you have a backup device.
Non-resident keys:
- Risk: Blobs are useless without hardware, but new key needed
- Recovery: Buy new hardware key, generate new keys, deploy to servers
- Prevention: Have a backup hardware key with separate keys
Resident keys:
- Risk: Total loss of access if only key
- Recovery: Requires out-of-band server access or recovery account
- Prevention: ALWAYS have a backup hardware key with duplicate resident keys
Hardware key breaks: same as lost key above. Prevention: have backup hardware key.
Related device-side dead ends worth knowing:
- Forgot PIN—cannot use the hardware key after limited attempts; the key locks/wipes after too many failures (usually 8 attempts). Store the PIN securely, have a backup hardware key.
- Reached slot limit (resident keys)—cannot create more resident keys. Delete old resident keys with
ykman fido credentials delete; use non-resident keys for frequently-changing access.