TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AWS IAM Policies in a Nutshell

222 pointsby colemorrisonabout 8 years ago

6 comments

ecesenaabout 8 years ago
Q: do you apply policy on roles, resources, or both? How do you maintain mental sanity?<p>We use 1 base policy + 1 policy&#x2F;role, and so for each role it&#x27;s easy to see what are its permissions.<p>We have no policy on resources, so it&#x27;s hard, e.g., given a bucket to know who has access to it. We&#x27;re building tooling for that.<p>edit: grammar&#x2F;typos
评论 #13945912 未加载
评论 #13942337 未加载
评论 #13942306 未加载
评论 #13945943 未加载
halestockabout 8 years ago
There&#x27;s been lots of griping about AWS and IAM, which I&#x27;m sure is at least in part due to AWS&#x27; popularity, but how does it compare to permissions management from other major cloud providers, e.g. google and azure?
评论 #13944712 未加载
anon345235about 8 years ago
When you switch roles in the console, you don&#x27;t have to enter in your credentials. So, if I get access to the account, I have access to all the roles. So, what additional protection is provided by separating out permissions into roles that are trivially accessible?<p>I can see how if conditions are added to the AccessRole action, such that I can only switch roles based on time of day or IP address, then that might be useful (although those conditions could be applied directly to policies as well).<p>So, absent the conditions mention above (which is still questionable), is there any point to using roles in the console?
评论 #13946970 未加载
konceptzabout 8 years ago
Thank you for posting this.
sghiassyabout 8 years ago
Very nice explanation. Thanks!
officelinebackabout 8 years ago
Isn&#x27;t the &quot;Principal&quot; element only a part of S3 permission policies, not IAM? In IAM the &quot;principal&quot; is implied, it&#x27;s the user to which the policy is attached. Edit: I see you explain well into the article, but I believe the title of the article could be improved.
评论 #13942248 未加载
评论 #13941797 未加载