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
servicesIServiceCollectionThe service collection.
configureAction<AwsSecretsManagerCredentialStoreOptions>Configure region and optional prefix.