{"id":142,"date":"2018-05-23T06:31:04","date_gmt":"2018-05-23T14:31:04","guid":{"rendered":"http:\/\/nerdsector.com\/ns\/?p=142"},"modified":"2018-05-23T06:31:19","modified_gmt":"2018-05-23T14:31:19","slug":"aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket","status":"publish","type":"post","link":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/","title":{"rendered":"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket"},"content":{"rendered":"<p>Frequently you may need to set up a IAM Role or Policy that allows access only to a specific AWS S3 Bucket and the objects within it.\u00a0 \u00a0You can use this policy to accomplish this.<\/p>\n<p style=\"padding-left: 30px;\">{<br \/>\n&#8220;Version&#8221;:&#8221;2012-10-17&#8243;,<br \/>\n&#8220;Statement&#8221;:[<br \/>\n{<br \/>\n&#8220;Effect&#8221;:&#8221;Allow&#8221;,<br \/>\n&#8220;Action&#8221;:[<br \/>\n&#8220;s3:ListBucket&#8221;,<br \/>\n&#8220;s3:ListBucketByTags&#8221;,<br \/>\n&#8220;s3:ListBucketVersions&#8221;,<br \/>\n&#8220;s3:GetBucketLocation&#8221;,<br \/>\n&#8220;s3:GetBucketTagging&#8221;,<br \/>\n&#8220;s3:ListBucketMultipartUploads&#8221;<br \/>\n],<br \/>\n&#8220;Resource&#8221;:[<br \/>\n&#8220;arn:aws:s3:::&lt;BUCKET-NAME&gt;&#8221;<br \/>\n]<br \/>\n},<br \/>\n{<br \/>\n&#8220;Effect&#8221;:&#8221;Allow&#8221;,<br \/>\n&#8220;Action&#8221;:[<br \/>\n&#8220;s3:PutObject&#8221;,<br \/>\n&#8220;s3:GetObject&#8221;,<br \/>\n&#8220;s3:GetObjectTagging&#8221;,<br \/>\n&#8220;s3:DeleteObject&#8221;,<br \/>\n&#8220;s3:DeleteObjectTagging&#8221;,<br \/>\n&#8220;s3:AbortMultipartUpload&#8221;,<br \/>\n&#8220;s3:ListMultipartUploadParts&#8221;<br \/>\n],<br \/>\n&#8220;Resource&#8221;:[<br \/>\n&#8220;arn:aws:s3:::&lt;BUCKET-NAME&gt;\/*&#8221;<br \/>\n]<br \/>\n}<br \/>\n]<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Frequently you may need to set up a IAM Role or Policy that allows access only to a specific AWS S3 Bucket and the objects within it.\u00a0 \u00a0You can use this policy to accomplish this. { &#8220;Version&#8221;:&#8221;2012-10-17&#8243;, &#8220;Statement&#8221;:[ { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &#8220;s3:ListBucket&#8221;, &#8220;s3:ListBucketByTags&#8221;, &#8220;s3:ListBucketVersions&#8221;, &#8220;s3:GetBucketLocation&#8221;, &#8220;s3:GetBucketTagging&#8221;, &#8220;s3:ListBucketMultipartUploads&#8221; ], &#8220;Resource&#8221;:[ &#8220;arn:aws:s3:::&lt;BUCKET-NAME&gt;&#8221; ] }, { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &hellip; <a href=\"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[22],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-aws"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com\" \/>\n<meta property=\"og:description\" content=\"Frequently you may need to set up a IAM Role or Policy that allows access only to a specific AWS S3 Bucket and the objects within it.\u00a0 \u00a0You can use this policy to accomplish this. { &#8220;Version&#8221;:&#8221;2012-10-17&#8243;, &#8220;Statement&#8221;:[ { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &#8220;s3:ListBucket&#8221;, &#8220;s3:ListBucketByTags&#8221;, &#8220;s3:ListBucketVersions&#8221;, &#8220;s3:GetBucketLocation&#8221;, &#8220;s3:GetBucketTagging&#8221;, &#8220;s3:ListBucketMultipartUploads&#8221; ], &#8220;Resource&#8221;:[ &#8220;arn:aws:s3:::&lt;BUCKET-NAME&gt;&#8221; ] }, { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &hellip; Continue reading &quot;AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/\" \/>\n<meta property=\"og:site_name\" content=\"Nerdsector.com\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-23T14:31:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-23T14:31:19+00:00\" \/>\n<meta name=\"author\" content=\"mrcaution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"mrcaution\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/\"},\"author\":{\"name\":\"mrcaution\",\"@id\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/#\\\/schema\\\/person\\\/c44c899761720267903204249c3cab2f\"},\"headline\":\"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket\",\"datePublished\":\"2018-05-23T14:31:04+00:00\",\"dateModified\":\"2018-05-23T14:31:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/\"},\"wordCount\":100,\"commentCount\":0,\"articleSection\":[\"AWS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/\",\"url\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/\",\"name\":\"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/#website\"},\"datePublished\":\"2018-05-23T14:31:04+00:00\",\"dateModified\":\"2018-05-23T14:31:19+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/#\\\/schema\\\/person\\\/c44c899761720267903204249c3cab2f\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nerdsector.com\\\/ns\\\/2018\\\/05\\\/23\\\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/#website\",\"url\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/\",\"name\":\"Nerdsector.com\",\"description\":\"Technology News, Tips and More\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/nerdsector.com\\\/ns\\\/#\\\/schema\\\/person\\\/c44c899761720267903204249c3cab2f\",\"name\":\"mrcaution\",\"url\":\"https:\\\/\\\/nerdsector.com\\\/ns\\\/author\\\/mrcaution\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/","og_locale":"en_US","og_type":"article","og_title":"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com","og_description":"Frequently you may need to set up a IAM Role or Policy that allows access only to a specific AWS S3 Bucket and the objects within it.\u00a0 \u00a0You can use this policy to accomplish this. { &#8220;Version&#8221;:&#8221;2012-10-17&#8243;, &#8220;Statement&#8221;:[ { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &#8220;s3:ListBucket&#8221;, &#8220;s3:ListBucketByTags&#8221;, &#8220;s3:ListBucketVersions&#8221;, &#8220;s3:GetBucketLocation&#8221;, &#8220;s3:GetBucketTagging&#8221;, &#8220;s3:ListBucketMultipartUploads&#8221; ], &#8220;Resource&#8221;:[ &#8220;arn:aws:s3:::&lt;BUCKET-NAME&gt;&#8221; ] }, { &#8220;Effect&#8221;:&#8221;Allow&#8221;, &#8220;Action&#8221;:[ &hellip; Continue reading \"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket\"","og_url":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/","og_site_name":"Nerdsector.com","article_published_time":"2018-05-23T14:31:04+00:00","article_modified_time":"2018-05-23T14:31:19+00:00","author":"mrcaution","twitter_misc":{"Written by":"mrcaution"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/#article","isPartOf":{"@id":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/"},"author":{"name":"mrcaution","@id":"http:\/\/nerdsector.com\/ns\/#\/schema\/person\/c44c899761720267903204249c3cab2f"},"headline":"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket","datePublished":"2018-05-23T14:31:04+00:00","dateModified":"2018-05-23T14:31:19+00:00","mainEntityOfPage":{"@id":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/"},"wordCount":100,"commentCount":0,"articleSection":["AWS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/","url":"https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/","name":"AWS S3 Read Write IAM Policy to allow Read-Write Operations on a Specific S3 Bucket - Nerdsector.com","isPartOf":{"@id":"http:\/\/nerdsector.com\/ns\/#website"},"datePublished":"2018-05-23T14:31:04+00:00","dateModified":"2018-05-23T14:31:19+00:00","author":{"@id":"http:\/\/nerdsector.com\/ns\/#\/schema\/person\/c44c899761720267903204249c3cab2f"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nerdsector.com\/ns\/2018\/05\/23\/aws-s3-read-write-iam-policy-to-allow-read-write-operations-on-a-specific-s3-bucket\/"]}]},{"@type":"WebSite","@id":"http:\/\/nerdsector.com\/ns\/#website","url":"http:\/\/nerdsector.com\/ns\/","name":"Nerdsector.com","description":"Technology News, Tips and More","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/nerdsector.com\/ns\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/nerdsector.com\/ns\/#\/schema\/person\/c44c899761720267903204249c3cab2f","name":"mrcaution","url":"https:\/\/nerdsector.com\/ns\/author\/mrcaution\/"}]}},"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2Ldd1-2i","jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":1,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/posts\/142\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nerdsector.com\/ns\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}