Table of Contents

Class SecretsManagerExtension

Namespace
Temporalio.Extensions.Aws.SecretsManager
Assembly
Temporalio.Extensions.Aws.SecretsManager.dll

Client config extension that loads client credentials (API key and/or mTLS material) from AWS Secrets Manager.

public sealed class SecretsManagerExtension : IClientConfigExtension
Inheritance
SecretsManagerExtension
Implements
Inherited Members

Remarks

Pass to Extensions and connect with ConnectAsync(TemporalClientConnectOptions). Secret IDs are configured in the profile.{profile}.ext.aws_secrets_manager TOML table or with TEMPORAL_EXT_AWS_SECRETS_MANAGER_* environment variables. See the package README for details.

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

Constructors

SecretsManagerExtension(SecretsManagerExtensionOptions?)

Initializes a new instance of the SecretsManagerExtension class.

public SecretsManagerExtension(SecretsManagerExtensionOptions? options = null)

Parameters

options SecretsManagerExtensionOptions

Options, or null for the defaults.

Fields

ExtensionName

The name of the extension, which is also its table key under profile.{profile}.ext.

public const string ExtensionName = "aws_secrets_manager"

Field Value

string

Properties

Name

Gets the extension name, aws_secrets_manager.

public string Name { get; }

Property Value

string

Methods

CreateClientPlugin(ClientConfigExtensionContext)

Read secret IDs from the profile and env, and create a plugin that fetches the configured secrets.

public ITemporalClientPlugin? CreateClientPlugin(ClientConfigExtensionContext context)

Parameters

context ClientConfigExtensionContext

The loaded profile and env.

Returns

ITemporalClientPlugin

The plugin, or null if no secret IDs are configured.