Yubico have a product specifically for that use case: <a href="https:&#x2F;&#x2F;www.yubico.com&#x2F;products&#x2F;yubihsm&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.yubico.com&#x2F;products&#x2F;yubihsm&#x2F;</a>