<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>IAM on Simple Enough Blog</title><link>https://blog-dev.simpleenough.net/tags/iam/</link><description>Recent content in IAM on Simple Enough Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 27 May 2025 15:33:47 +0200</lastBuildDate><atom:link href="https://blog-dev.simpleenough.net/tags/iam/index.xml" rel="self" type="application/rss+xml"/><item><title>This is who IAM</title><link>https://blog-dev.simpleenough.net/blog/iam/</link><pubDate>Tue, 27 May 2025 15:33:47 +0200</pubDate><guid>https://blog-dev.simpleenough.net/blog/iam/</guid><description>&lt;h2 id="i-iam-core-components-and-concepts" class="heading">I. IAM: Core Components and Concepts&lt;a href="#i-iam-core-components-and-concepts" aria-labelledby="i-iam-core-components-and-concepts">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h2>
&lt;p>IAM is based on &lt;strong>entities&lt;/strong> and &lt;strong>policies&lt;/strong>.&lt;/p>




&lt;h3 id="iam-entities" class="heading">IAM Entities&lt;a href="#iam-entities" aria-labelledby="iam-entities">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>Users&lt;/strong>: Represent people or applications. Example: a developer named &amp;ldquo;alice&amp;rdquo;.&lt;/li>
&lt;li>&lt;strong>Groups&lt;/strong>: Collections of users sharing the same permissions.&lt;/li>
&lt;li>&lt;strong>Roles&lt;/strong>: IAM entities that can be temporarily assumed by others. Ideal for &lt;strong>federation&lt;/strong> or services like EC2 or Lambda.&lt;/li>
&lt;li>&lt;strong>Policies&lt;/strong>: JSON documents that define permissions attached to an entity.&lt;/li>
&lt;/ul>




&lt;h3 id="sample-json-policy" class="heading">Sample JSON Policy&lt;a href="#sample-json-policy" aria-labelledby="sample-json-policy">
&lt;!-- &lt;i class="fas fa-link anchor">&lt;/i> -->
 &lt;svg class="svg-inline--fa fas fa-link anchor" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 640 512">&lt;use href="#fas-link">&lt;/use>&lt;/svg>&amp;nbsp;
 &lt;/a>
&lt;/h3>
&lt;div class="mb-3 syntax-highlight">&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-json" data-lang="json">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;Version&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;2012-10-17&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;Statement&amp;#34;&lt;/span>: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;Effect&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;Allow&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;Action&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;s3:ListBucket&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#f92672">&amp;#34;Resource&amp;#34;&lt;/span>: &lt;span style="color:#e6db74">&amp;#34;arn:aws:s3:::example_bucket&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>&lt;p>This IAM policy allows an AWS entity (user, role, or group) to list the objects in a specific S3 bucket named &lt;code>example_bucket&lt;/code>. It uses the standard IAM version format (&lt;code>2012-10-17&lt;/code>) and allows the &lt;code>s3:ListBucket&lt;/code> action on the resource identified by its ARN. It lets the entity see the list of objects (names, sizes, metadata), but not read or modify them—unless additional permissions are granted. This minimal policy is often used for inventory or bucket navigation via the AWS Console or API.&lt;/p></description></item></channel></rss>