Skip to content

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

Add feature flag for frontend

Fang-Pen Lin18c13317aef9
diff --git a/frontend/src/config/env.ts b/frontend/src/config/env.ts
index 63446c95f9..c8100bd16b 100644
--- a/frontend/src/config/env.ts
+++ b/frontend/src/config/env.ts
@@ -26,6 +26,9 @@ export const envConfig = {
import.meta.env.VITE_TELEMETRY_CAPTURING_ENABLED === true
);
},
+ get ACME_FEATURE_ENABLED() {
+ return window?.__INFISICAL_RUNTIME_ENV__?.ACME_FEATURE_ENABLED ?? false;
+ },
get PLATFORM_VERSION() {
return import.meta.env.VITE_INFISICAL_PLATFORM_VERSION;