Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / envResolver

Variable: envResolver

ts
const envResolver: SecretResolver;

Defined in: packages/security/src/secrets/resolvers/env.ts:15

Resolver for the env: scheme. Reads process.env[NAME] and wraps the result in a SecretValue. Honours an optional ?default=... fallback. Throws SecretResolutionError when the variable is not set and no fallback is configured.

Stable