method EnvProvider.prototype.get
EnvProvider.prototype.get(name: string): Promise<string | null>

Reads the environment variable for a secret name.

Parameters

name: string

Secret name/path

Return Type

Promise<string | null>

The value, or null when the variable is unset

Usage

import { EnvProvider } from "secrets-plugin/src/index.ts";