method ISecretManager.has
ISecretManager.has(name: string): Promise<boolean>

Reports whether a secret exists.

Parameters

name: string

Secret name

Return Type

Promise<boolean>

true if the secret exists and is accessible

Usage

import { type ISecretManager } from "common/src/index.ts";