Prerequisites
This section lists what you need before you configure the integration between Infisical and Securosys HSMs.
Infisical supports two integrations with HSMs:
- Infisical KMS: The Infisical KMS root key is kept in the HSM.
- Infisical PKI: The signing keys of Infisical certificate authorities are kept in the HSM.
info
This documentation does not cover how to install Infisical. It only covers the HSM integration, and assumes you already run an Infisical instance. For installation and configuration of Infisical, see the Infisical documentation.
Shared Prerequisites
These apply to both integrations.
- A Securosys Primus HSM or CloudHSM Partition with PKCS#11 license.
- Partition credentials: Partition name, Setup Password, PKCS#11 password
- An Infisical instance with an Infisical Enterprise license. Both HSM features are Enterprise features.
- The Primus PKCS#11 Provider installed and configured to reach that Partition (see below).
- Network access to the HSM from wherever the Primus PKCS#11 Provider runs.
Infisical KMS
- A self-hosted Infisical instance, as you need access to the deployment configuration files.
- The Primus PKCS#11 Provider installed on the same host as the Infisical KMS.
- In this tutorial, Infisical KMS is deployed using Docker, and the provider is mounted into the Infisical container from the container host.
- Access to modify the Infisical deployment (Kubernetes/Docker Compose, environment variables).
Continue with the Configure Infisical KMS guide.
Infisical PKI
- One or more Infisical Gateway hosts (Linux required). For productive setup, it is recommended to run the Gateway in a cluster.
- The Infisical CLI built with PKCS#11 support (
infisical-pkcs11) available on the Gateway host. - The Primus PKCS#11 Provider installed on every Infisical Gateway host.
- A machine identity with Universal Auth for the Gateway.
- Access to Certificate Manager, and permission to manage HSM connectors, certificate authorities, and the certificate policies, profiles and applications that issuance goes through.
Continue with the Configure Infisical PKI guide.