Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add missing redis pam account
Fang-Pen Lin99c51863683f
diff --git a/backend/src/ee/routes/v1/pam-account-routers/index.ts b/backend/src/ee/routes/v1/pam-account-routers/index.tsindex 3ed608f85c..1e86a94882 100644--- a/backend/src/ee/routes/v1/pam-account-routers/index.ts+++ b/backend/src/ee/routes/v1/pam-account-routers/index.ts@@ -19,6 +19,11 @@ import {SanitizedPostgresAccountWithResourceSchema,UpdatePostgresAccountSchema} from "@app/ee/services/pam-resource/postgres/postgres-resource-schemas";+import {+ CreateRedisAccountSchema,+ SanitizedRedisAccountWithResourceSchema,+ UpdateRedisAccountSchema+} from "@app/ee/services/pam-resource/redis/redis-resource-schemas";import {CreateSSHAccountSchema,SanitizedSSHAccountWithResourceSchema,@@ -46,6 +51,15 @@ export const PAM_ACCOUNT_REGISTER_ROUTER_MAP: Record<PamResource, (server: FastiupdateAccountSchema: UpdateMySQLAccountSchema});},+ [PamResource.Redis]: async (server: FastifyZodProvider) => {+ registerPamAccountEndpoints({+ server,+ resourceType: PamResource.Redis,+ accountResponseSchema: SanitizedRedisAccountWithResourceSchema,+ createAccountSchema: CreateRedisAccountSchema,+ updateAccountSchema: UpdateRedisAccountSchema+ });+ },[PamResource.SSH]: async (server: FastifyZodProvider) => {registerPamAccountEndpoints({server,