Sajan,
Here;s the policy I’m using that doesn’t seem to work. This is *before* running
—config, since I’m trying to figure out how to script a cloud-init download of
some security credentials. Running "s3cmd ls” gives me the access denied error.
Thank you for the help,
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:Get*",
"s3:List*"
],
"Resource": "arn:aws:s3:::<my bucket>"
}
]
}
Rich Mogull
rmog...@securosis.com
AIM: Securosis
Skype: rmogull
work+blog: http://securosis.com
On Jul 4, 2013, at 1:58 PM, Sajan Parikh <sa...@noppix.com> wrote:
> Here's something that should get your started. It would've helped if you
> showed us what your config currently looks like.
>
> {
> "Statement": [
> {
> "Effect": "Allow",
> "Action": "*",
> "Resource": [
> "arn:aws:s3:::your-bucket-name",
> "arn:aws:s3:::your-bucket-name/*"
> ],
> "Condition": {}
> }
> ]
> }
> Sajan Parikh
> Owner, Noppix LLC
>
> e: sa...@noppix.com
> p: (563) 726-0371
>
> <emailsiglogo.png>
> On 07/04/2013 03:19 PM, Rich Mogull wrote:
>> Does anyone have hints on using s3cmd with IAM roles? I have a role
>> established and assigned to my EC2 instance, but after installing s3cmd I
>> still get access denied. I don't see anything in the documentation. For
>> example, do I need to create a special config file? Is there a command line
>> parameter?
>>
>> Thanks
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> S3tools-general mailing list
>> S3tools-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/s3tools-general
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general