I am new to the AWS SDK, and I try to follow AWS documentation but practically does not give me what I need to configure.
White papers tell me to add this to appsettings.json:
{
"AWS": {
"Profile": "local-test-profile",
"Region": "us-west-2"
}
}
And then create a client:
var options = Configuration.GetAWSOptions();
IAmazonS3 client = options.CreateServiceClient<IAmazonS3>();
This throws an exception saying that it cannot find the credentials. Where can I put the api id and key? What is this profile?
Please keep in mind that I have no preferences regarding how to install this. I'm just trying to follow the official documentation for .NET Core, and their only example does not work. The docs seem to imply that I must have prior knowledge of many of my conditions and settings, or that I am migrating an existing application and have already configured all the settings.
- , , API AWS?