> Source: https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/MainWorkPanel/AuthenticationDomains/SecurityKeys/

# Security keys

A **security key** is a FIDO / WebAuthn authenticator: USB key, token, or an authenticator built into the workstation. In CyberElements, it is used as a **second factor**: it complements the password with a proof of possession, and resists phishing, since the key only signs for the [relying party](https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/ConfigurationWorkPanel/RelyingParties/) that enrolled it.

This module gives the administrator **visibility** over the enrolled keys, across all domains, and the ability to **revoke** them. It is not used to add any.

> **Enrolment from the user portal**
>
> Enrolling a key requires the key to be physically present: only the user can do it, from the portal. The console **offers no add action**; this is not a missing right but a consequence of the protocol.

![](https://docs.cyberelements.io/saas/img/cyberelements/CYE_AdminConsole_SecurityKeys_Module.png)

## Revocation

Three situations call for it: a **departure**, a **lost or stolen key**, and a **replaced key** whose predecessor is still enrolled. In all three, revocation is the only operation that stops the key from being usable.

It takes effect immediately and is final as far as the key is concerned: the user has to enrol a new one from the portal.

> **Access after revoking the last key**
>
> Revoking the last key of a user whose [access policy](https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessContracts/) requires a security key does not deprive them of all access: as soon as a [relying party](https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/ConfigurationWorkPanel/RelyingParties/) is set up, they keep access to the portal to enrol a new key. Their contracts subject to the condition stay closed until then.

## Implementation example

The [Yubico](https://docs.cyberelements.io/saas/ro/Integration/MFA/YubicoIntegration/) integration walks through a complete case, on the key side as well as the platform side.

## Mandatory key

Enrolment alone makes nothing mandatory. It is the [security key access condition](https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessConditions/Fido2/), set in an access policy, that requires it to be presented. The two are configured independently: a user who has no key yet still reaches the portal to enrol one, as soon as a relying party is set up.

## Limits

- **No adding from the console**: revocation and consultation only.
- A key is tied to the account that enrolled it; it cannot be transferred to another user.
- Revocation does not invalidate a session already open: end it from the [Control center](https://docs.cyberelements.io/saas/ro/Usage/Administration/AdminConsole/MainWorkPanel/Supervision/ControlCenter/) if needed.

---

The details of the list and of the filters are described in the [module reference](https://docs.cyberelements.io/saas/ro/Usage/AdminConsoleReference/SecurityKeys/).

The API endpoints that drive this object are described in the [API reference](https://docs.cyberelements.io/saas/ro/API/APIGuide/#get-/publicapi/-org-/securitykeys/).
