Generating and Wrapping Your Key

Make sure that you created a user that can manage crypto operations (CryptoUser) by following the steps described in Initializing PKCS#11 on HSM.

The key will be stored to the Internal Key storage of the HSM.