Options to configure the retrieval of a secret.

Interface

SecretsGetOptionsInterface

Property

Maximum age of the value in the cache, in seconds.

Property

Force fetch the value from the parameter store, ignoring the cache.

Property

Options to pass to the underlying SDK.

Property

Transform to be applied, can be 'json' or 'binary'.

Hierarchy

Properties

forceFetch?: boolean

Force fetch the value from the parameter store, ignoring the cache.

maxAge?: number

Maximum age of the value in the cache, in seconds.

sdkOptions?: Omit<Partial<GetSecretValueCommandInput>, "SecretId">

Additional options to pass to the AWS SDK v3 client. Supports all options from GetSecretValueCommandInput.

transform?: "json" | "binary"

Transform to be applied, can be json or binary.

Generated using TypeDoc