What is a security key?
It's a small hardware device you carry that proves you're you when you sign in. You use the device itself, rather than reading a code off a screen and typing it.
Under the hood, it's a type of "authenticator" in the WebAuthn standard. Wikipedia's summary says it uses public-key cryptography to sign an authentication assertion targeted at the website. In plain words, it answers one specific site with a signed reply instead of a number anyone could copy.1
The key is also still a second factor in the usual sense. It's something you have.
How does it stop fake sign-in pages?
This is the big difference from codes. A fake page can ask you for a six-digit code, and you may type it in. A fake page can't get much from a security key.
Per the WebAuthn summary, the authenticator only offers credentials that were registered on the same website. A look-alike site isn't the site the key was registered with.1
CISA says the same thing from the defender's side. When a malicious actor tricks a user into logging into a fake website, the FIDO protocol will block the attempt. CISA also calls FIDO/WebAuthn the only widely available phishing-resistant authentication.2
What about malware on my computer?
The same Wikipedia page says a roaming hardware authenticator resists malware, since the keys are stored on a separate device. The malware can't reach them directly.1
That's a narrow claim. It's about the stored keys, not about everything malware can do.
How is a key different from codes?
| Code (app or text) | Security key | |
|---|---|---|
| What you do | Read a number and type it | Use the device itself |
| Fake sign-in page | You can be tricked into typing the code | The key only answers the registered site |
| What you carry | A phone | A small hardware device |
The table follows the sources above: CISA names FIDO/WebAuthn as the phishing-resistant type, and the WebAuthn summary describes the registered-site check.21
What do business apps let admins do with keys?
Google Workspace shows a typical setup. Among its enforcement choices is "Only security key," where users must set up a security key.3
There's a catch worth knowing before you pick it. If a user loses the key, they can't just make their own backup code. In that mode, an admin must provide it.3
So a small team that requires keys needs a plan for who gives out those codes. For a lost key, see what happens when a device goes missing. The admin view covers more settings.
Keys also connect to passkeys, which use the same standard.
Sources used
- WebAuthn, Wikipedia
- More than a Password, Cybersecurity and Infrastructure Security Agency (CISA)
- Deploy 2-Step Verification, Google Workspace Help