updating-secrets - v0.3.1
    Preparing search index...

    Class StaticSecretsAdapter

    This adapter is constructed with a static set of secrets and that static set of secrets is always directly returned when loading secrets.

    This is primarily designed for the following use cases:

    • Providing default values for secrets, which are intended to be overridden in following adapters (in the adapters array given to an instance of UpdatingSecrets).
    • Setting mock secret values for testing purposes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    adapterName: string
    staticSecrets: Record<string, JsonCompatibleValue>

    Static secrets that will always be directly returned as the latest set of loaded secrets.

    Methods