Testing your YubiKey

Using the tabs below, select from three different login demos. Configure your credentials using the right-most tab. See each demo for more information. The first time you plug in your YubiKey you may have to wait a few seconds while your system detects the new hardware.


Single factor authentication

This lets you demo the YubiKey for single-factor authentication.

  1. Insert your YubiKey into a USB port
  2. Click in the YubiKey field, and touch the YubiKey button

Single-factor (YubiKey only) authentication is not recommended for production use, as a lost or stolen YubiKey would suffice to authenticate as a user. See one of the two-factor authetication modes for a more secure solution.

Two factor authentication


Two-factor authentication is more secure than single-factor, as an attacker would need to get a hold of both a users YubiKey as well as password. Since the YubiKey encodes the user ID in its output, a username is not required.

  1. Insert your YubiKey into a USB port
  2. Enter your password in the password field
  3. Click in the YubiKey field, and touch the YubiKey button

To set the password for this demo, see the 'Set credentials' tab above.

Two factor authentication with username



Though not required, some prefer two-factor authentication where the user must provide a username as well as a password and YubiKey OTP. This is also useful when integrating with legacy applications which require a username.

  1. Insert your YubiKey into a USB port
  2. Enter your username in the username field
  3. Enter your password in the password field
  4. Click in the YubiKey field, and touch the YubiKey button

To set the username and password for this demo, see the 'Set credentials' tab above.

Set username and password for demo



Use this page to set or change the username and password used in combination with a particular YubiKey for this demo. Note that these credentials are not used anywhere else, they are only for demo purposes, and can be reset at any time. Dummy values like 'user' and 'test' are fine for this purpose.

  1. Insert your YubiKey into a USB port
  2. Enter your new username in the username field
  3. Enter your new password in the password field
  4. Click in the YubiKey field, and touch the YubiKey button

Note: The above demo will let you try out authenticating your YubiKey against the YubiCloud validation servers. To use this your YubiKey must be configured to validate against our YubiCloud service. YubiKeys are shipped with this configuration by default.