When using AccesssKeyId and SecretKeyId the blob storage throws a Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured exception when trying to connect to AWS. The issue is caused by line 57 on DefaultAmazonS3ClientFactory.cs.
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, configuration.Region);
should be replaced with
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, region);
This way its sending the actual region instead of the string with the region's name. This causes an issue because if the 3rd param is a string, then the client will think its an awsSessionToken thus no region is been selected.
When using AccesssKeyId and SecretKeyId the blob storage throws a
Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configuredexception when trying to connect to AWS. The issue is caused by line 57 onDefaultAmazonS3ClientFactory.cs.return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, configuration.Region);should be replaced with
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, region);This way its sending the actual region instead of the string with the region's name. This causes an issue because if the 3rd param is a string, then the client will think its an awsSessionToken thus no region is been selected.