Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VaultsWaiter

Hierarchy

  • VaultsWaiter

Constructors

constructor

Properties

Private client

client: VaultsClient

Private Optional Readonly config

Private workRequestClient

workRequestClient: WorkRequestClient

Methods

forRotateSecret

forSecret

  • Waits forSecret till it reaches any of the provided states

    Parameters

    • request: GetSecretRequest

      the request to send

    • Rest ...targetStates: LifecycleState[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetSecretResponse | null>

    response returns GetSecretResponse | null (null in case of 404 response)