Amazon S3 copyObject permission

前端 未结 3 1968
梦毁少年i
梦毁少年i 2020-12-29 03:56

I\'v got user with all permissions.

{
  \"Statement\": [
    {
      \"Effect\": \"Allow\",
      \"Action\": \"*\",
      \"Resource\": \"*\"
    }
  ]
}
         


        
3条回答
  •  星月不相逢
    2020-12-29 04:41

    Found out what the issue is here; being an AWS newbie I struggled here for a bit until I realized that each policy for the users you set needs to clearly allow the service you're using.

    In this case I hadn't set the user to be allowed into S3.

    Goto IAM then goto Users and click on the particular user that has the credentials you're using. From there goto Permissions tab, then click on Attach User Policy and find the S3 policy under select policy template. This should fix your problem.

    Hope that helps!

提交回复
热议问题