Skip to content

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

docs: document CORS_ALLOWED_HEADERS instead of nonexistent CORS_ALLOWED_METHODS

andrewhuhhffedcd9722eb
diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx
index 1fd45bf029..2a3629357f 100644
--- a/docs/self-hosting/configuration/envars.mdx
+++ b/docs/self-hosting/configuration/envars.mdx
@@ -184,10 +184,13 @@ Defaults to the same value as your `SITE_URL` environment variable.
</ParamField>
-<ParamField query="CORS_ALLOWED_METHODS" type="string" optional>
- Array of HTTP methods allowed for CORS requests.
+<ParamField query="CORS_ALLOWED_HEADERS" type="string" optional>
-Defaults to reflecting the headers specified in the request's Access-Control-Request-Headers header.
+Specify a list of request headers that are allowed in CORS requests to the Infisical API.
+
+An example value would be `CORS_ALLOWED_HEADERS=["Authorization","Content-Type"]`.
+
+Defaults to reflecting the headers specified in the request's `Access-Control-Request-Headers` header.
</ParamField>