Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Fortanix doc improvement

Carlos Monastyrski0561cd2e490a
diff --git a/docs/documentation/platform/pki/settings/hsm-connectors-fortanix-dsm.mdx b/docs/documentation/platform/pki/settings/hsm-connectors-fortanix-dsm.mdx
index 3d34efbb7c..b91c2537fc 100644
--- a/docs/documentation/platform/pki/settings/hsm-connectors-fortanix-dsm.mdx
+++ b/docs/documentation/platform/pki/settings/hsm-connectors-fortanix-dsm.mdx
@@ -50,7 +50,7 @@ Your API key is a credential, so it goes only in Infisical as the PIN. It does n
</Step>
<Step title="Install the driver and point it at your DSM">
- Install the Fortanix PKCS#11 library on the machine that will run the Gateway. Fortanix publishes it on its [PKCS#11 library page](https://support.fortanix.com/docs/fortanix-dsm-clients-pkcs11-library) as a `.deb` package, an `.rpm` package, or a standalone `.so` for Linux, and as an MSI installer for Windows. A `.deb` apt repository is also available (`deb https://download.fortanix.com/linux/apt focal main`). On Linux the driver installs to `/opt/fortanix/pkcs11/fortanix_pkcs11.so`. On Windows the default is `C:\Program Files\Fortanix\KmsClient\FortanixKmsPkcs11.dll`.
+ Gateway HSM support runs on Linux only, so install the Fortanix PKCS#11 library on the Linux machine that will run the Gateway. Fortanix publishes it on its [PKCS#11 library page](https://support.fortanix.com/docs/fortanix-dsm-clients-pkcs11-library) as a `.deb` package, an `.rpm` package, or a standalone `.so`. A `.deb` apt repository is also available (`deb https://download.fortanix.com/linux/apt focal main`). The driver installs to `/opt/fortanix/pkcs11/fortanix_pkcs11.so`.
Confirm the driver file is readable by the Gateway user:
@@ -65,14 +65,6 @@ Your API key is a credential, so it goes only in Infisical as the PIN. It does n
```
This is the only setting the driver needs here. Infisical supplies the API key as the PIN in the final step.
-
- Then list the driver's slots to find the **slot label** you will need for the Connector:
-
- ```bash
- pkcs11-tool --module /opt/fortanix/pkcs11/fortanix_pkcs11.so --list-token-slots
- ```
-
- Copy the `token label` value from the output.
</Step>
<Step title="Start the Gateway with the driver attached">
@@ -110,7 +102,7 @@ Your API key is a credential, so it goes only in Infisical as the PIN. It does n
|-------|-------|
| **Name** | Slug-friendly identifier, e.g. `fortanix-prod`. |
| **Gateway** | The Gateway you started above (or a Pool that contains it). |
- | **Slot label** | The `token label` you copied in Step 2 (`Fortanix Token` on Fortanix DSM). |
+ | **Slot label** | `Fortanix Token` by default. If you configured a custom token label, use that value instead. |
| **PIN** | Your Fortanix application API key from Step 1. |
| **Key label prefix** | Optional prefix added to every key label Infisical creates in this slot. |
</Step>
diff --git a/docs/documentation/platform/pki/settings/hsm-connectors.mdx b/docs/documentation/platform/pki/settings/hsm-connectors.mdx
index 592842e5ac..dd6217a8c7 100644
--- a/docs/documentation/platform/pki/settings/hsm-connectors.mdx
+++ b/docs/documentation/platform/pki/settings/hsm-connectors.mdx
@@ -13,7 +13,7 @@ The Connector itself stores no key material. It is a credentials and routing rec
Have these on hand before you create a Connector:
- A **running, HSM-capable Gateway** on a host that can reach your HSM. New to Gateways? Start at [Gateway Deployment](/documentation/platform/gateways/gateway-deployment), then come back. The Gateway must be started with `--pkcs11-module=<absolute path>` so it loads your HSM's PKCS#11 driver.
-- The **absolute path to the PKCS#11 driver** (`.so` on Linux, `.dll` on Windows) provided by your HSM vendor.
+- The **absolute path to the PKCS#11 driver** (`.so`) provided by your HSM vendor. Gateway HSM support runs on Linux only.
- The **slot label** and **PIN** of the HSM slot Infisical should use. Both come from your HSM provider.
## How it fits together
@@ -42,7 +42,7 @@ sequenceDiagram
Three pieces have to be in place for an HSM Connector to be usable:
-1. **A Gateway** running on a host that can talk to your HSM, started with `--pkcs11-module=<path to vendor .so/.dll>`. See [Gateway Deployment](/documentation/platform/gateways/gateway-deployment).
+1. **A Gateway** running on a Linux host that can talk to your HSM, started with `--pkcs11-module=<path to vendor .so>`. See [Gateway Deployment](/documentation/platform/gateways/gateway-deployment).
2. **An HSM Connector** that points at that Gateway (or a Pool that contains it) and carries the slot credentials.
3. **A consumer**, a feature that supports HSM-backed keys. See the feature's own docs for how it references an HSM Connector.
@@ -54,7 +54,7 @@ If you have never deployed a Gateway before, read [Gateway Deployment](/document
<Steps>
<Step title="Install your HSM's PKCS#11 driver on the Gateway host">
- Install the PKCS#11 library shipped by your HSM vendor on the machine where the Gateway will run. Note the absolute path to the `.so` or `.dll`. You will pass it to the Gateway in the next step.
+ Install the PKCS#11 library shipped by your HSM vendor on the Linux machine where the Gateway will run. Note the absolute path to the `.so`. You will pass it to the Gateway in the next step.
For example, the Fortanix DSM PKCS#11 driver is commonly placed at `/opt/fortanix/pkcs11/fortanix_pkcs11.so` by Fortanix's installer, though you can put it anywhere the Gateway process can read.