ConfigProvider overview
Added in v1.0.0
Table of contents
config
setSecretsManagerConfigProvider
Sets the current ConfigProvider
that loads configuration from AWS Secrets Manager.
Signature
export declare const setSecretsManagerConfigProvider: (
config?: Partial<FromSecretsManagerConfig>
) => Layer.Layer<never, unknown, unknown>
Added in v1.2.0
withSecretsManagerConfigProvider
Executes the specified workflow with the secrets manager configuration provider.
Signature
export declare const withSecretsManagerConfigProvider: (
config?: Partial<FromSecretsManagerConfig>
) => <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, unknown, unknown>
Added in v1.2.0
constructors
fromSecretsManager
A config provider that loads configuration from AWS Secrets Manager.
Signature
export declare const fromSecretsManager: (
config?: Partial<FromSecretsManagerConfig> & { serviceLayer?: Layer.Layer<SecretsManagerService> }
) => ConfigProvider.ConfigProvider
Added in v1.0.0
models
FromSecretsManagerConfig (interface)
Signature
export interface FromSecretsManagerConfig {
readonly pathDelim: string
}
Added in v1.2.0