Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / ValidateSecretRefsOptions

Interface: ValidateSecretRefsOptions

Defined in: packages/security/src/secrets/secret-ref.ts:85

Options for validateSecretRefs(...).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
allowLiteral?readonlybooleanAllow literal: refs in the input. Off by default — literal: is gated by the resolver, but validation can fail-fast as well.packages/security/src/secrets/secret-ref.ts:90
fieldNameMatcher?readonly(key) => booleanNames of fields that should be treated as *Ref strings. Defaults to a heuristic match: any string-valued field whose key ends in Ref, _ref, REF, or _REF.packages/security/src/secrets/secret-ref.ts:96
knownSchemes?readonlyreadonly string[]Restrict the accepted scheme set. Defaults to BUILTIN_SCHEMES plus any scheme registered through registerResolver(...).packages/security/src/secrets/secret-ref.ts:101