# Sign in with a YubiKey or security key

> Add a YubiKey or security key to your Leal login, keep a spare, and use your authenticator app or backup codes if you lose a key.

You can use a YubiKey or another security key instead of an authenticator code when signing in on the website. You still enter your email and password first. Turn on [two-factor authentication](https://docs.getleal.com/store/your-login#turn-it-on) before adding a key, and keep your authenticator app and backup codes.

## What you need

- A YubiKey or another security key that supports FIDO2 or FIDO U2F. Check the key's packaging or product description if you're unsure.
- An up-to-date web browser. If yours cannot use security keys, you can still sign in with an authenticator or backup code.
- A way to connect your key to your device, such as a USB port or NFC for tapping the key.

The mobile app continues to use authenticator or backup codes. To add and use a security key, open the website in your browser.

## Add your key

1. Open **Profile**, then **Manage security keys** under **Two-factor authentication**.
2. Check the website address shown on the page. Add the key on the website you normally use to sign in.
3. Enter a **Key name**, such as "Everyday YubiKey", and your **Current password**.
4. Click **Add security key**.
5. Follow your browser's instructions. Connect or tap your key and touch it when asked. The browser may ask for your key's PIN.

The key appears in your list once it has been verified. You can add up to 10 keys in total, including keys added on different sign-in websites. Add a spare key with a different name and keep it somewhere safe.

Keys belong to your personal login. They are not shared with your store's staff. Each person adds their own.

## Sign in

1. Enter your email and password as usual.
2. Click **Use security key**.
3. Follow your browser's instructions to connect or tap the registered key.

You can also enter an authenticator or backup code on the same screen. Cancelling the browser prompt does not lock you out. Try the key again or use a code. If the sign-in attempt expires, enter your email and password again.

## If you use more than one sign-in website

A key registration works only on the exact website where you added it. A key added on `app.getleal.com` is not offered on an agency's custom domain, or the other way round.

Sign in on the other website with an authenticator or backup code, then add your key there too. If an agency changes its domain, register your keys on the new domain.

## Remove or replace a key

On **Manage security keys**, find the key by its name and website address. The list also shows when it was added and last used to sign in.

Click **Remove key**, enter your **Current password**, then click **Remove key** and confirm. It stops working for your login immediately. Your authenticator app, backup codes and other keys still work.

If you lose a key, sign in with your spare key, authenticator app or a backup code, then remove the lost key. If you lose every way to verify your login, contact support@getleal.com.

Disabling two-factor authentication removes all registered keys and invalidates your backup codes. You must add your keys again if you enable it later.

## If your key does not work

- Check you are on the website shown beside your key in **Manage security keys**.
- Use the key you registered. An unregistered key cannot sign you in.
- Check your browser is up to date.
- If you cancelled a prompt, start again. A verification attempt lasts five minutes.
- If adding a key fails, check that it is not already registered on that website.

Keep your recovery codes somewhere you can reach without your phone or key. Never share your password or codes with someone offering to help.
