Hello,
I have a small issue with AWS::S3.
I cannot list the objects in any buckets?
I have setup a policy in the bucket.
{
"Version": "2008-10-17",
"Id": "Policy1332206995246",
"Statement": [
{
"Sid": "Stmt1332206992416",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:*",
"Resource":
"arn:aws:s3:::development.blahblahblah.com/*"
}
]
}
and when I try to receive the bucket list, I get error.
bucket.objects.collect(&:key)
AWS::S3::Errors::AccessDenied: <?xml version="1.0"
encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access
Denied</Message><RequestId>F93D3C7209378D42</RequestId><HostId>J1EZmhZrvJV/+wd</HostId></Error>
If I try to receive the bucket policy.
bucket.policy
AWS::S3::Errors::AccessDenied: <?xml version="1.0"
encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access
Denied</Message><RequestId>19A664FCD3B42610</RequestId><HostId>WWbTs1T0yp1Iaenh1HLYkcK6TuDn+/4UkaszJqejRjeE6eCr</HostId></Error>
What can be the reason?
Thanks for help :)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.