Difference between revisions of "An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
   
 
   
 
  aws s3 ls
 
  aws s3 ls
  An error occurred ([[AccessDenied]]) when calling the ListBuckets operation: Access Denied
+
  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
 
  Solution: try to specify the name of the bucket you have permission, [[aws s3 ls]] s3://yourbucketname
  
  Or add this to your policy:
+
  Or add this to your policy ([[S3 read-write access to a certain bucket]]):
 
         {
 
         {
 
             "Effect": "Allow",
 
             "Effect": "Allow",

Latest revision as of 10:17, 3 September 2023

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 (S3 read-write access to a certain bucket):
       {
           "Effect": "Allow",
           "Action": [
               "s3:ListAllMyBuckets"
           ],
           "Resource": "*"
       },

Errors[edit]

Related[edit]

See also[edit]

Advertising: