mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 23:48:05 -05:00
Add missing redis pam account
This commit is contained in:
@@ -19,6 +19,11 @@ import {
|
|||||||
SanitizedPostgresAccountWithResourceSchema,
|
SanitizedPostgresAccountWithResourceSchema,
|
||||||
UpdatePostgresAccountSchema
|
UpdatePostgresAccountSchema
|
||||||
} from "@app/ee/services/pam-resource/postgres/postgres-resource-schemas";
|
} 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 {
|
import {
|
||||||
CreateSSHAccountSchema,
|
CreateSSHAccountSchema,
|
||||||
SanitizedSSHAccountWithResourceSchema,
|
SanitizedSSHAccountWithResourceSchema,
|
||||||
@@ -46,6 +51,15 @@ export const PAM_ACCOUNT_REGISTER_ROUTER_MAP: Record<PamResource, (server: Fasti
|
|||||||
updateAccountSchema: UpdateMySQLAccountSchema
|
updateAccountSchema: UpdateMySQLAccountSchema
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
[PamResource.Redis]: async (server: FastifyZodProvider) => {
|
||||||
|
registerPamAccountEndpoints({
|
||||||
|
server,
|
||||||
|
resourceType: PamResource.Redis,
|
||||||
|
accountResponseSchema: SanitizedRedisAccountWithResourceSchema,
|
||||||
|
createAccountSchema: CreateRedisAccountSchema,
|
||||||
|
updateAccountSchema: UpdateRedisAccountSchema
|
||||||
|
});
|
||||||
|
},
|
||||||
[PamResource.SSH]: async (server: FastifyZodProvider) => {
|
[PamResource.SSH]: async (server: FastifyZodProvider) => {
|
||||||
registerPamAccountEndpoints({
|
registerPamAccountEndpoints({
|
||||||
server,
|
server,
|
||||||
|
|||||||
Reference in New Issue
Block a user