mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 21:40:31 +00:00
Complete preliminary docs for pki subscribers
This commit is contained in:
@@ -16,6 +16,8 @@ export const sanitizedSshHost = SshHostsSchema.pick({
|
||||
export const loginMappingSchema = z.object({
|
||||
loginUser: z.string().trim(),
|
||||
allowedPrincipals: z.object({
|
||||
usernames: z.array(z.string().trim()).transform((usernames) => Array.from(new Set(usernames)))
|
||||
usernames: z
|
||||
.array(z.string().trim())
|
||||
.transform((usernames) => Array.from(new Set(usernames.filter((username) => username !== ""))))
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user