Skip to content
desaiuditd edited this page Dec 3, 2014 · 1 revision

Edit Bucket Policy

S3_Management_Console

Policy code in text format below:

{
	"Version": "2012-10-17",
	"Statement": [
		{
			"Sid": "Allow Public Access to All Objects",
			"Effect": "Allow",
			"Principal": "*",
			"Action": "s3:GetObject",
			"Resource": "arn:aws:s3:::docs.rtcamp.com/*"
		}
	]
}

IAM User API Key

{
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "s3:ListAllMyBuckets",
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::docs.rtcamp.com",
                "arn:aws:s3:::docs.rtcamp.com/*"
            ]
        }
    ]
}
Clone this wiki locally