Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

429 B
Raw Blame
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
});