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 Resposta
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
respondido há 4 meses
  • Please use answers for specific answers. Use comments to ask for details.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas