GCP Secret Manager provider.
GcpSecretManagerProvider(options?: GcpSecretManagerProviderOptions)
Parameters
optional
options: GcpSecretManagerProviderOptions
GCP connection/injection options
Since 0.5.0
optional
isHealthy: () => Promise<boolean>
Reachability probe, present only when the resolved client supplies one
(M90b). The GCP SDK facade has no non-mutating probe of its own, so the
adapted (lazy) path stays undefined and the indicator reports
reachable: 'unknown'; an injected facade that exposes isHealthy
publishes real reachability.
connect(): Promise<void>
Establishes any backing connection/client. No-op for stateless providers.
disconnect(): Promise<void>
Releases any backing connection/client. No-op for stateless providers.
get(name: string): Promise<string | null>
Reads a secret from GCP Secret Manager.
isReady(): boolean
Reports whether the provider is ready to serve reads.
set(name: string,value: string): Promise<void>
Adds a new secret version.