AWS CLI S3 A client error (403) occurred when calling the HeadObject operation: Forbidden

前端 未结 21 2009

I\'m trying to setup a Amazon Linux AMI(ami-f0091d91) and have a script that runs a copy command to copy from a S3 bucket.

 aws --debug s3 cp s3://aws-codede         


        
21条回答
  •  离开以前
    2020-12-03 04:53

    403 - means I know who you are but you are not authorized to do what you asking.

    In my case, the problem was in a Policy - I didn't choose an object when specified the Policy in Visual Editor

提交回复
热议问题