Skip to content

zod-envkit


isSecretKey(key): boolean

Defined in: env.ts:85

Detect whether an env key name looks like a secret.

Used by the CLI to mask values (TOKEN/SECRET/PASSWORD/*_KEY/PRIVATE).

Parameters

key

string

Returns

boolean

Since

1.1.0

Released under the MIT License.