and you should never do that
If you want secure the key, generate one on YK directly and use it. The entire point of hardware key storage is for key itself to never touch anything else