Skip to content

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

add disable to adming

adilson2f4895fb49be
diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts
index 01d0a11aa7..431e7368ee 100644
--- a/backend/src/lib/config/env.ts
+++ b/backend/src/lib/config/env.ts
@@ -923,6 +923,16 @@ export const overwriteSchema: {
description: "The Client Secret of your Heroku application."
}
]
+ },
+ secretSharing: {
+ name: "Secret Sharing",
+ fields: [
+ {
+ key: "DISABLE_PUBLIC_SECRET_SHARING",
+ description:
+ "Disable creation of unauthenticated public secret shares (the /share-secret page). Set to 'true' to block public sharing."
+ }
+ ]
}
};