An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied

From wikieduonline
Revision as of 12:04, 17 July 2023 by Welcome (talk | contribs)
Jump to navigation Jump to search
aws s3 ls
An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied
Solution: try to specify the name of the bucket you have permission, aws s3 ls s3://yourbucketname
Or add this to your policy:
       {
           "Effect": "Allow",
           "Action": [
               "s3:ListAllMyBuckets"
           ],
           "Resource": "*"
       },

Errors

Related

See also

Advertising: