Open
Description
Describe the issue
While using the V3 SDK we were configuring S3 Client specific options like ForcePathStyle
from our appSettings.json
file as it was the recommended way:
var s3Options = builder.Configuration.GetAWSOptions<AmazonS3Config>("AWS:S3");
builder.Services.AddAWSService<IAmazonS3>(s3Options);
Now in V4 of the SDK the generic method for GetAWSOptions
is gone and did not find any information in the migration guide on what would be the new way of doing the same?
I checked the extension methods and the default client and options creation, in the NETCoreSetup package, but those have no way of passing in anything read from the configuration.
Provide guidance on how that 2 lines above should look like in V4.
Links
https://docs.aws.amazon.com/sdk-for-net/v4/developer-guide/net-dg-v4.html