MyBotBoxMyBotBox

@yarlisai/secrets

Pluggable secrets — GCP Secret Manager + memory adapters with TTL cache.

Pluggable secrets — GCP Secret Manager + memory adapters with TTL cache.

Install

npm install @yarlisai/secrets

Why

@yarlisai/secrets follows the port/adapter contract: consumers depend on a port (SomeProvider interface) and instantiate an adapter at runtime. Swapping vendors is a single-line config change.

Usage

The package's README ships a complete quickstart. mybotbox-platform itself is the reference consumer — apps/sat/lib/secrets/ (or a similarly-named module) shows how every callsite uses the port instead of a vendor SDK directly.

See also

On this page

On this page