Skip to content

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

Add auth.method handling for PKCS#11 and KSP docs

Carlos Monastyrskia44e9f08fa14
diff --git a/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx b/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx
index 1ff48bfc6f..feac7565de 100644
--- a/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx
+++ b/docs/documentation/platform/pki/code-signing/pkcs11-module.mdx
@@ -108,7 +108,7 @@ export INFISICAL_CONFIG=/path/to/your/pkcs11.conf
| Field | Required | Default | Description |
|-------|----------|---------|-------------|
| `server_url` | Yes | None | Infisical server URL. Must use `http://` (local dev) or `https://`. |
-| `auth.method` | No | `universal-auth` | Authentication method: `universal-auth` or `token`. |
+| `auth.method` | No | inferred | Authentication method: `universal-auth` or `token`. Inferred from the credentials when unset (a token means `token`, otherwise `universal-auth`). |
| `auth.client_id` | No | None | Machine identity client ID, for `universal-auth`. Prefer the env var. |
| `auth.client_secret` | No | None | Machine identity client secret, for `universal-auth`. Prefer the env var. |
| `auth.token` | No | None | An Infisical access token, for `token` auth. Prefer the env var. |
diff --git a/docs/documentation/platform/pki/code-signing/windows-ksp.mdx b/docs/documentation/platform/pki/code-signing/windows-ksp.mdx
index 5dc9d5b13c..bdd9ded277 100644
--- a/docs/documentation/platform/pki/code-signing/windows-ksp.mdx
+++ b/docs/documentation/platform/pki/code-signing/windows-ksp.mdx
@@ -114,7 +114,7 @@ $env:INFISICAL_TOKEN = "<your-access-token>"
| Field | Required | Default | Description |
|-------|----------|---------|-------------|
| `server_url` | Yes | None | Your Infisical address. Must start with `http://` (local testing) or `https://`. |
-| `auth.method` | No | `universal-auth` | How to log in: `universal-auth` (machine identity) or `token` (an access token used directly). |
+| `auth.method` | No | inferred | How to log in: `universal-auth` (machine identity) or `token` (an access token used directly). Inferred from the credentials when unset (a token means `token`, otherwise `universal-auth`). |
| `auth.client_id` | No | None | The machine identity's client ID, for `universal-auth`. Prefer the environment variable. |
| `auth.client_secret` | No | None | The machine identity's secret, for `universal-auth`. Prefer the environment variable. |
| `auth.token` | No | None | An Infisical access token, for `token` auth. Prefer the environment variable. |