Skip to main content

SECRET_KEYWORD

@webda/core


Variable: SECRET_KEYWORD

const SECRET_KEYWORD: "x-webda-secret" = "x-webda-secret"

Defined in: packages/core/src/services/secretscheck.ts:12

JSON Schema keyword marking a configuration value that must be encrypted

Written by the compiler for a property typed with SecretString or tagged @secret:

  • true: the whole value, every string below it
  • a list of names: only these children of the object, a name can be a dotted path and the arrays on the way are traversed (users.token)