-
-
Notifications
You must be signed in to change notification settings - Fork 52
Description
This is a nice little library, but one issue that I'm having is that it doesnt take AWS options from appsettings. What are your thoughts on supporting this?
For example, if I have the following in my appsettings file, I'd want this information to be used when creating the Secrets Manager client:
{
"AWS": {
"Region": "eu-west-1",
"Profile": "dev",
}
}
At the moment, it only seems to use the information in the credentials
file, or if the AWS_PROFILE
or AWS_REGION
environment variable are present, it'll use the information from there.
The AWS .NET Configuration Extension for Systems Manager has an AddSystemsManager
method which builds the IConfigurationBuilder
and fetches the AWSOptions from it by IConfiguration.GetAWSOptions()
, which allows these options to come from appsettings. I'm wondering if it would be possible to support something similar in this library.