Table of Contents

Class AwsCredentialsServiceCollectionExtensions

Namespace
JD.AI.Credentials.Aws
Assembly
JD.AI.Credentials.Aws.dll

Extension methods for registering the AWS Secrets Manager credential store.

public static class AwsCredentialsServiceCollectionExtensions
Inheritance
AwsCredentialsServiceCollectionExtensions
Inherited Members

Methods

AddAwsSecretsManagerCredentialStore(IServiceCollection, Action<AwsSecretsManagerCredentialStoreOptions>?)

Adds AwsSecretsManagerCredentialStore as the ICredentialStore singleton, using the default AWS credential chain.

public static IServiceCollection AddAwsSecretsManagerCredentialStore(this IServiceCollection services, Action<AwsSecretsManagerCredentialStoreOptions>? configure = null)

Parameters

services IServiceCollection

The service collection.

configure Action<AwsSecretsManagerCredentialStoreOptions>

Configure region and optional prefix.

Returns

IServiceCollection