Resetting Device to Factory Settings
Before deploying the YubiHSM 2 in a production environment, it might be necessary to reset the device to its factory settings, for instance to facilitate tests or training.
A reset destroys any objects stored on the device that are not factory-installed.
Physical Reset
The device can be physically reset to its factory settings. To do this, while inserting the YubiHSM 2 into a USB port, press the metal rim as you insert it and continue to press the rim for a minimum of 10 seconds.
Reset Using YubiHSM Shell
Please refer to the RESET DEVICE Command.