Unhandled exception. Amazon.S3.AmazonS3Exception: Access Denied

0

I am trying to access aws programmaticaly using access key,secret key and session token in visual studio environment to connect my .net core api.I am able to connect aws account so that i can access s3 buckets and dynamoDB tables But when I run "dotnet run" command it throws "Unhandled exception. Amazon.S3.AmazonS3Exception: Access Denied" but using same credentials and same code in another pc its working fine.

  • Check your Cloudtrail logs, find out which user is being denied and why.

1 Antwort
0

Please adhere to Leeroy's guidance and review CloudTrail logs for insights into the issue.

It's possible that the problem is related to: IAM permissions, regional configurations, the AWS SDK version, or network settings.

The .aws/credentials and .aws/config files might also play a role.

More details would help us provide a more specific solution.

profile picture
beantwortet vor 4 Monaten
  • Please use answers for specific answers. Use comments to ask for details.

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen