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
import { CertificatesSchema } from "@app/db/schemas";
// The certificates table carries bookkeeping columns the API does not expose: quotaKey and
// hasWildcard exist so the licence quota can be counted from an index. Responses build on this
// rather than omitting them per route, so a new endpoint cannot leak them.
export const SanitizedCertificateSchema = CertificatesSchema.omit({
quotaKey: true,
hasWildcard: true
});