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
// Code generated by automation script, DO NOT EDIT.
// Automated by pulling database and generating zod schema
// To update. Just run npm run generate:schema
// Written by akhilmhdh.
import { z } from "zod";
import { TImmutableDBKeys } from "./models";
export const ResourceAuthMethodsSchema = z.object({
id: z.string().uuid(),
gatewayId: z.string().uuid().nullable().optional(),
method: z.string(),
createdAt: z.date(),
updatedAt: z.date(),
relayId: z.string().uuid().nullable().optional(),
kmipServerId: z.string().uuid().nullable().optional(),
agentVaultProxyId: z.string().uuid().nullable().optional()
});
export type TResourceAuthMethods = z.infer<typeof ResourceAuthMethodsSchema>;
export type TResourceAuthMethodsInsert = Omit<z.input<typeof ResourceAuthMethodsSchema>, TImmutableDBKeys>;
export type TResourceAuthMethodsUpdate = Partial<Omit<z.input<typeof ResourceAuthMethodsSchema>, TImmutableDBKeys>>;