Hello I am working on uploading video on AWS using Asp .net core. For that, I am trying to get access key and other credentials using the code below.
var profileCrendial= new CredentialProfileStoreChain();
AWSCredentials awsCredentials;
using (var user = new AmazonSecurityTokenServiceClient(awsCredentials))
{
}
and
using (var SClient = new AmazonSecurityTokenServiceClient(awsCredentials))
{
var req = new AssumeRoleRequest
{
}
}
For that I have installed AWSSDK v2.3.55.2 and AWSSDK.S3 v3.3.111.28 from NuGet package. I am getting type 'AWSCredentials' exist in both AWSSDK.Core error on the following line.
AWSCredentials awsCredentials;
How can I rectify this error?