Skip to content

basalt / env/src / SecretOptions

Interface: SecretOptions ​

Defined in: env/src/secret.ts:15

Properties ​

devDefault? ​

> optional devDefault?: string

Defined in: env/src/secret.ts:23

Value used when the variable is unset AND NODE_ENV is explicitly development or test. Anywhere else (production, staging, or NODE_ENV unset) the variable is required — the fail-closed default.


minLength? ​

> optional minLength?: number

Defined in: env/src/secret.ts:17

Minimum length. Default 16.

Released under the MIT License.