Allow a user to create an IAM profile only for specific kind of resources

1

Hey guys,

My question might be funky but it has a real purpose on our end.

I'm trying to create an IAM profile that allow another user to create IAM profile but only for specific kind of resource. I will take the example of SQS service. We need a news SQS and for that, we will trigger a new deployment on our deployment tool. Our deployment tool must have limited access to avoid any troubles, so that deployment tool needs to have a profile that allow the creation of an SQS, a user and an IAM profile that will allow that user to use that SQS.

The deployment tool should only be able to create an IAM profile that interact with SQS, nothing else. Is this even possible ? I have been able to allow a user to create IAM profile but for any type of service, which is not what I'm looking for

Thank you in advance for you help.

Regards,

Vincent

已提問 1 年前檢視次數 246 次
1 個回答
0

This sounds like the perfect use case for IAM Permissions Boundaries: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html Also see the blog post here explaining a use case that sounds very similar to what you're describing: https://aws.amazon.com/blogs/security/when-and-where-to-use-iam-permissions-boundaries/

AWS
Greg_H
已回答 1 年前
  • Hey Greg,

    Despite reading the documentation, I still don't see how to create that policy.

    Creating the policy to allow the user to create a policy is fine but how to allow that user to create policies that only set permissions for SQS ? Because it's 2 separated item no ?

    Regards,

    Vincent

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南