method ISecretManager.rotate
ISecretManager.rotate(
name: string,
value: string
): Promise<void>

Rotates a secret to a new value.

Parameters

name: string

Secret name

value: string

The new secret value

Return Type

Promise<void>

Usage

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