Two-step Login via YubiKey

Category: Two-step Login
On this page:

    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.

    Setup YubiKey

    Complete the following steps to enable Two-step Login using Yubikey:

    Warning

    Losing access to your Yubikey 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 the Web Vault.
    2. Select Settings from the top navigation bar.
    3. Select Two-step Login from the left-side menu.
    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

    When you setup Two-step Login, you should logout of all your Bitwarden apps to immediately activate Two-step Login for each app. You will eventually be logged out automatically.

    Use YubiKey

    The following assumes that YubiKey is your highest-priority enabled method. Complete the following steps to access your Vault using Two-step Login:

    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:

      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.

      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.