Integration with YubiKey

If you are already a user of YubiKey Multi-factor or Two-factor authentication and would like to configure PAM to use YubiKey, then please perform the following steps.

Please note that you will need to be able to access and modify files on the System host computer. Contact your System Administrator for assistance.

Pre-requisite: PAM must be deployed with and configured to use its Federated Sign-In component in order to integrate with multi-factor authentication providers. For YubiKey MFA Integration, download this Federated Sign-in Module and follow the guide linked above for configuration.


Step 1. Register your YubiKey to get Yubico API Keys

Step 2. Configure Integration with YubiKey

Step 1. Register your YubiKey to get Yubico API Keys

  1. Open your browser to
  2. Enter your email address into the required field.
  3. Enter your key’s OTP or touch your YubiKey to populate the YubiKey OTP field.
  4. Check the box to accept the Yubico Terms and Conditions.
  5. Click the Get API Key button.
  6. Yubi-API-Key-01

  7. The Yubico website will now display your client identity and client API keys. Save this information to a safe location or do not close your web browser. You will need both the Client ID and Secret key values in the next step.


Step 2. Configure Integration with YubiKey

  1. Log on to the System host computer.
  2. Open the file $PAM_HOME/web/conf/ in a text editor.
  3. In this file, scroll down to the section labeled # YubiKey. If you do not have this section, copy and paste the entire section below to the bottom of your file.
  4. Copy
    # YubiKey
    # Get your API clientId and secretKey here:



  5. Uncomment the following line only when a single global MFA for the entire PAM is desired:
  6. Copy

    If you wish to enable different MFA providers for individual users or group, please read this article for additional information.

  7. Add your Client ID and Secret Key from Step 1 to the following lines:

  8. If you are using your own Database and not the System internal database, then modify the following lines. If you are using System’s internal database, then skip this step.


    You can find the values that need to be replaced in bold above from this same / file in the #PAM Database section. In this example, we would copy the bolded SQL database parameters below and use them to replace those of the Derby database above.

  9. When complete, save and close this file.

  10. Restart the service PamManagement (Windows) or pammanger (Linux).

This configuration will enable YubiKey as the global MFA provider in the System for all user logins. YubiKey MFA supports connection for users who using native clients such as PuTTY, mstsc, MobaXTerm, Secure CRT, Royal TS, WinSCP, scp, etc via SSH Proxy or RDP Proxy. If you wish to configure additional MFA providers or to enable YubiKey only for selected users or groups, then please see our MFA Configuration Guide article for more information.

Once configured, refer to the following article YubiKey – How to Login as a User for steps on how to use YubiKey MFA with the System from an end user’s perspective.