Skip to content

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

Feedback + small docs update

x0322057de45ad220c6
diff --git a/.env.example b/.env.example
index 95fc07bc53..05a888db09 100644
--- a/.env.example
+++ b/.env.example
@@ -135,4 +135,3 @@ DATADOG_HOSTNAME=
# kubernetes
KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN=false
-INFISICAL_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH=
diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts
index 294210499a..d5878837f7 100644
--- a/backend/src/lib/config/env.ts
+++ b/backend/src/lib/config/env.ts
@@ -28,7 +28,6 @@ const databaseReadReplicaSchema = z
const envSchema = z
.object({
INFISICAL_PLATFORM_VERSION: zpStr(z.string().optional()),
- INFISICAL_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH: zpStr(z.string().optional()),
KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN: zodStrBool.default("false"),
PORT: z.coerce.number().default(IS_PACKAGED ? 8080 : 4000),
DISABLE_SECRET_SCANNING: z
diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx
index 42d289804f..1e050ff14b 100644
--- a/docs/self-hosting/configuration/envars.mdx
+++ b/docs/self-hosting/configuration/envars.mdx
@@ -59,6 +59,15 @@ Example values:
connect with internal/private IP addresses.
</ParamField>
+<ParamField
+ query="KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN"
+ type="bool"
+ default="false"
+ optional
+>
+ Determines whether your Infisical instance can automatically read the service account token of the pod it's running on. Used for features such as the IRSA auth method.
+</ParamField>
+
## CORS
Cross-Origin Resource Sharing (CORS) is a security feature that allows web applications running on one domain to access resources from another domain.