PersonalBusinessDownloadPricingHelpBlogContact
Get Started
Log In
HomePersonalBusinessDownloadPricingHelpBlogContactTalk to SalesGet StartedLog In

Two-step Login via YubiKey

Two-step login using YubiKey is available for premium users, including members of paid Organizations (Families, Teams, or Enterprise). Any YubiKey that supports OTP can be used. This includes all YubiKey 4 and 5 series devices, as well as YubiKey NEO and YubiKey NFC. You can add up to 5 YubiKeys to your account.

tip

Most modern YubiKeys, including 5 series keys, support the FIDO2 WebAuthn protocol. If your key supports it, which you can determine using the YubiKey Manager application, we recommend setting up your key as a FIDO2 WebAuthn device by following these instructions.

Setup YubiKey

To enable two-step login using Yubikey:

warning

Losing access to your two-step login device can permanently lock you out of your vault unless you write down and keep your two-step login recovery code in a safe place or have an alternate two-step login method enabled and available.

Get Your recovery code from the Two-step Login screen immediately after enabling any method.

  1. Log in to your web vault.

  2. Select the profile icon and choose Account Settings from the dropdown:

    Account Settings
    Account Settings

  3. Select the Security page and the Two-step Login tab:

    Two-step Login
    Two-step Login

  4. Locate the YubiKey OTP Security Key option and select the Manage button.

    Select the Manage button
    Select the Manage button

    You will be prompted to enter your master password to continue.

  5. Plug the YubiKey into your computer's USB port.

  6. Select the first empty YubiKey input field in the dialog in your web vault.

  7. Touch the Yubikey's button.

    If you will be using the YubiKey for a NFC-enabled mobile device, check the One of my keys supports NFC checkbox.

  8. Select Save. A green Enabled message will indicate that two-step login using YubiKey has been enabled.

  9. Select the Close button and confirm that the YubiKey OTP Security Key option is now enabled, as indicated by a green checkbox ( ).

Repeat this process to add up to 5 YubiKeys to your account.

note

We recommend keeping your active web vault tab open before proceeding to test two-step login in case something was misconfigured. Once you've confirmed it's working, logout of all your Bitwarden apps to require two-step login for each. You will eventually be logged out automatically.

Use YubiKey

The following assumes that YubiKey is your highest-priority enabled method. To access your vault using a YubiKey:

  1. Log in to your Bitwarden vault on any app and enter your email address and master password.

    You will be prompted to insert your YubiKey into your computer's USB port or hold your YubiKey against the back of your NFC-enabled device:

    YubiKey Prompt
    YubiKey Prompt
    tip

    Check the Remember Me box to remember your device for 30 days. Remembering your device will mean you won't be required to complete your two-step login step.

    If you're using a non-NFC YubiKey on a Mobile Device:

    1. Plug your YubiKey into the device.

    2. Tap Cancel to end the NFC prompt.

      Cancel NFC
      Cancel NFC
    3. Tap the text input field, denoted by a gray underline.

    4. Tap or press your YubiKey button to insert your code.

  2. Select or tap Continue to finish logging in.

You will not be required to complete your secondary two-step login step to Unlock your vault once logged in. For help configuring Log Out vs. Lock behavior, see Vault Timeout Options.

NFC Troubleshooting

If your YubiKey's NFC functionality isn't working properly:

Check that NFC is enabled:
  1. Download YubiKey Manager.

  2. Plug the YubiKey into your device.

  3. Select the Interfaces tab, and check that all boxes in the NFC section are checked.

Check that NFC is configured properly:
  1. Download the YubiKey Personalization Tool.

  2. Plug the YubiKey into your device.

  3. Select the Tools tab.

  4. Select the NDEF Programming button.

  5. Select the the configuration slot you would like the YubiKey to use over NFC.

  6. Select the Program button.

(Android-only) Check the following:
  • That you checked the One of my keys supports NFC checkbox during setup.

  • That your Android device supports NFC and is known to work properly with YubiKey NEO or YubiKey 5 NFC.

  • That you have NFC enabled on your Android device (SettingsMore).

  • That your keyboard layout/format/mode is set to QWERTY.


Products

Resources

  • Resource Center
  • Community Forums
  • Security Compliance
  • Success Stories
  • User Reviews
  • Newsfeed
  • Subscribe to Updates

©2022 Bitwarden, Inc.

Terms Privacy Sitemap