chiark / gitweb /
example file for public read only S3 bucket policy
authorHans-Christoph Steiner <hans@eds.org>
Thu, 15 Sep 2016 09:35:38 +0000 (11:35 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 15 Sep 2016 21:20:18 +0000 (23:20 +0200)
This is the locked down S3 policy as created by Benetech for their Secure
App Generator project.

examples/public-read-only-s3-bucket-policy.json [new file with mode: 0644]

diff --git a/examples/public-read-only-s3-bucket-policy.json b/examples/public-read-only-s3-bucket-policy.json
new file mode 100644 (file)
index 0000000..9316bbe
--- /dev/null
@@ -0,0 +1,11 @@
+{
+    "Version":"2012-10-17",
+    "Statement":[
+        {"Sid":"AddPerm",
+         "Effect":"Allow",
+         "Principal":"*",
+         "Action":"s3:GetObject",
+         "Resource":"arn:aws:s3:::examplebucket/fdroid/*"
+        }
+    ]
+}