Table of Contents

Class SecretsManagerExtensionOptions

Namespace
Temporalio.Extensions.Aws.SecretsManager
Assembly
Temporalio.Extensions.Aws.SecretsManager.dll
public class SecretsManagerExtensionOptions : ICloneable
Inheritance
SecretsManagerExtensionOptions
Implements
Inherited Members

Remarks

WARNING: This API is experimental and may change in the future.

Properties

MaxStaleness

Gets or sets how long after its last successful fetch a secret may still be used if refreshing it fails. Defaults to 24 hours. Values less than the refresh interval are treated as the refresh interval.

public TimeSpan? MaxStaleness { get; set; }

Property Value

TimeSpan?

RefreshInterval

Gets or sets how long a fetched secret is used before it is refreshed. If unset, defaults to the SECRETS_MANAGER_TTL environment variable (non-negative whole seconds, where 0 refreshes on every use) as used by the AWS Parameters and Secrets Lambda Extension, or 5 minutes if that is unset.

public TimeSpan? RefreshInterval { get; set; }

Property Value

TimeSpan?

SecretsClient

Gets or sets the Secrets Manager client used to fetch secrets. If unset, secrets are fetched through the AWS Parameters and Secrets Lambda Extension if it is detected, and otherwise with a client created from the default AWS config.

public IAmazonSecretsManager? SecretsClient { get; set; }

Property Value

IAmazonSecretsManager

Methods

Clone()

Create a shallow copy of these options.

public virtual object Clone()

Returns

object

A shallow copy of these options.