interface IAzureSecretsClient
Since 0.1.0

Structural shape of an Azure Key Vault facade (injected or SDK-adapted).

Methods

getSecret(name: string): Promise<string | null>

Gets a secret's current value.

setSecret(
name: string,
value: string
): Promise<void>

Sets a secret's value.

Since 0.5.0
optional
isHealthy(): Promise<boolean>

Optional non-mutating reachability probe (M90b). See IAwsSecretsClient.isHealthy for the contract.

Usage

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