mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 23:18:05 -05:00
Add missing redis pam account
This commit is contained in:
@@ -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: Fasti
|
||||
updateAccountSchema: UpdateMySQLAccountSchema
|
||||
});
|
||||
},
|
||||
[PamResource.Redis]: async (server: FastifyZodProvider) => {
|
||||
registerPamAccountEndpoints({
|
||||
server,
|
||||
resourceType: PamResource.Redis,
|
||||
accountResponseSchema: SanitizedRedisAccountWithResourceSchema,
|
||||
createAccountSchema: CreateRedisAccountSchema,
|
||||
updateAccountSchema: UpdateRedisAccountSchema
|
||||
});
|
||||
},
|
||||
[PamResource.SSH]: async (server: FastifyZodProvider) => {
|
||||
registerPamAccountEndpoints({
|
||||
server,
|
||||
|
||||
Reference in New Issue
Block a user