@grow-codes/aws-secrets-manager - v0.1.1
    Preparing search index...

    Class AwsSecretCache

    Version-stage aware cache in front of an AwsSecretsManagerClient (client.secretCache()). Reads are coalesced per (secretId, stage). A refresh that fails keeps serving the cached value and retries with exponential backoff (AWS caching-client behaviour); a first read that fails throws.

    Index
    • The value as bytes.

      Parameters

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • Drops every cached stage of secretId.

      Parameters

      • secretId: string

      Returns void

    • The AWS caching-client defaults (TTL 1 h, 1 024 entries).

      Returns { maxEntries: number; ttlMs: number }