Skip to content

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

docs: updated docs

Sheen Capadngan3dc9b2ee8deb
diff --git a/docs/documentation/platform/pki/settings/policies.mdx b/docs/documentation/platform/pki/settings/policies.mdx
index 1761a29d75..5c1b5e51b5 100644
--- a/docs/documentation/platform/pki/settings/policies.mdx
+++ b/docs/documentation/platform/pki/settings/policies.mdx
@@ -16,6 +16,20 @@ When a certificate is requested, Certificate Manager validates the request again
This enforcement happens automatically — teams don't need to know the policy details. They just request certificates, and the policy ensures compliance.
+### Policy Enforcement Model
+
+Each policy field (Subject Attributes, SANs, Key Usages, etc.) follows a three-state enforcement model:
+
+| State | Meaning | Behavior |
+|-------|---------|----------|
+| **Not configured** | No constraints | Any value is allowed |
+| **Configured but empty** | Explicit restriction | Nothing is allowed — all requests with this field are rejected |
+| **Configured with rules** | Whitelist | Only values matching the defined rules are allowed |
+
+<Info>
+ This model lets you be precise about intent. Leave a field unconfigured to allow anything, or configure it with an empty rule set to explicitly forbid it entirely.
+</Info>
+
## Create a Certificate Policy
Navigate to **Certificate Manager → Certificate Policies** and click **Create**.
@@ -83,9 +97,7 @@ For each attribute, configure enforcement:
`example`, and `app`, or a pattern like `*`.
</Note>
-<Warning>
- Any subject attribute in a certificate request that isn't explicitly defined in the policy will be rejected. If no subject rules are defined, any request with subject attributes will fail.
-</Warning>
+Once you define subject attribute rules, only the attribute types you explicitly include are permitted — any other attribute in a request will be rejected. An empty configuration forbids all subject attributes; leave the section unconfigured to allow any attribute.
### Subject Alternative Names (SANs)
@@ -100,6 +112,8 @@ Control which SANs can appear on certificates:
Each SAN rule specifies the type, a pattern (fixed or wildcard), and whether to **allow** or **deny** it.
+Once you define SAN rules, only the SAN types you explicitly include are permitted — any other SAN type in a request will be rejected. An empty SAN configuration forbids all SANs; leave the section unconfigured to allow any SAN type.
+
### Key & Signature Algorithms
Restrict which cryptographic algorithms are permitted:
@@ -133,6 +147,8 @@ Define the cryptographic purposes of certificates:
| Certificate Sign | Sign other certificates (CA only) |
| CRL Sign | Sign certificate revocation lists (CA only) |
+If you configure Key Usages, only the usages listed in **Required** or **Allowed** are permitted. Leave Key Usages unconfigured to allow any key usage.
+
### Extended Key Usages
Define higher-level intended uses:
@@ -145,6 +161,8 @@ Define higher-level intended uses:
| Email Protection | S/MIME |
| OCSP Signing | OCSP responders |
+If you configure Extended Key Usages, only the usages listed in **Required** or **Allowed** are permitted. Leave Extended Key Usages unconfigured to allow any extended key usage.
+
### Basic Constraints
Control whether certificates can act as CAs: