Skip to content

Instantly share code, notes, and snippets.

@staff0rd
Created Sep 24, 2020
Embed
What would you like to do?
local-amazon-s3-02
services
.AddSingleton<IAmazonS3>(p => {
var config = new AmazonS3Config
{
RegionEndpoint = RegionEndpoint.USWest2,
};
return new AmazonS3Client(myAccessKey, mySecret, config);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment