get 403 Forbidden error on one account but not on another

Dec 29, 2010 at 9:32 PM

I'm trying to use s3 to backup files in an s3 bucket.  We actually have 2 accounts with s3 buckets.  I can s3 list bucket1 /key:aaa /secret:bbb fine.  But s3 list bucket2 /key:ccc /secret:ddd gives a 403 Forbidden error.  We have another program (S3 Backup) that I can use to access both without any problem.  I'm copy/pasting the key and secret, so it's not a typo.  I went on to the Amazon console and added an 'everyone' grantee with all privileges.  All give me the same results.  Any ideas? 



Sep 18, 2013 at 8:22 PM
I have this exact problem. I'm trying to exactly as Phil describes from with an EC2 instance that is in my first AWS account. I can access S3 buckets on the matching AWS account but can't access S3 buckets on the second AWS account. When I use my laptop, I can access s3 buckets on both accounts with no problems. Any help would be appreciated.
Sep 26, 2013 at 6:48 PM

Add the IAM policy CloudFrontReadOnlyAccess
"Statement": [
  "Action": [
  "Effect": "Allow",
  "Resource": "*"