For use with some applications, such as security software, you may need to know the USB product ID (PID) of the YubiKey or Security Key you have. You can use the steps below to find the USB PID of your device. Additionally, you can refer to YubiKey USB ID Values for reference.
Windows
- Open Powershell
- run the following command (case sensitive)
Get-PnpDevice -Class "USB" -PresentOnly | Where-Object {$_.InstanceId -Match "^USB\\VID_1050*"} | Select-Object InstanceId
- The Product ID (PID) will be listed immediately after the Vendor ID (VID), for example:
In this case, the Product ID is 0407
Linux
- Open Terminal
- Run: lsusb | grep -i Yubico
- You will see pairs of VendorID:ProductID listed
macOS
- Open System Report (Apple Menu > About This Mac > System Report).
- Navigate to Hardware > USB.
- Select the YubiKey (or Security Key)
- See the Product ID below