Skip to content

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

merge main

Scott Wilson31013c8a2615
diff --cc backend/src/keystore/keystore.ts
index d4d0b04f0b,74fe5d786f..5aee91b61d
--- a/backend/src/keystore/keystore.ts
+++ b/backend/src/keystore/keystore.ts
@@@ -104,8 -97,7 +97,10 @@@ export const KeyStorePrefixes =
TelemetryIdentifyIdentity: (dedupKey: string) => `telemetry-identify-identity:${dedupKey}` as const,
TelemetryGroupIdentify: (orgId: string) => `telemetry-group-identify:${orgId}` as const,
SecretEtag: (projectId: string) => `secret-etag:${projectId}` as const,
- RefreshTokenGrace: (sessionId: string) => `refresh-token-grace:${sessionId}` as const
+
++ RefreshTokenGrace: (sessionId: string) => `refresh-token-grace:${sessionId}` as const,
++
+ InsightsCache: (projectId: string, endpoint: string) => `insights-cache:${projectId}:${endpoint}` as const
};
export const KeyStoreTtls = {
@@@ -118,7 -110,7 +113,8 @@@
WebAuthnChallengeInSeconds: 300, // 5 minutes
ProjectSSEConnectionTtlSeconds: 180, // Must be > heartbeat interval (60s) * 2
TelemetryIdentifyIdentityInSeconds: 86400, // 24 hours
- RefreshTokenGraceInSeconds: 30
++ RefreshTokenGraceInSeconds: 30,
+ InsightsCacheInSeconds: 300 // 5 minutes
};
type TDeleteItems = {