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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 20, '12 at 1:46a
activeMar 20, '12 at 1:46a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Jamal Soueidan: 1 post

People

Translate

site design / logo © 2021 Grokbase