Need to restrict IAM user

1

We have production and UAT environment in same AWS account now my requirement is to restrict IAM user A can manage all activities related to only UAT instances like an admin access and same way IAM user B can manage Production instances only. Is it possible within same AWS account?

2 回答
1

You should check the Attribute-Based Access Control (ABAC) model. This approach works with resource tags and IAM principal tags to determine who has access to what. This blog post shows an example that uses AWS Systems Manager (SSM) to access EC2 instances based on this approach. In that blog post, the author relies on AWS IAM Identity Center (successor to AWS SSO), but you can apply the same principle to IAM users/roles.

profile pictureAWS
专家
Tasio
已回答 2 年前
0

Hello,

This can be done using the tags an attribute based access policy. You can attach tags to IAM resources, including IAM entities (users or roles) and to AWS resources. You can define policies that use tag condition keys to grant permissions to your principals based on their tags. For more information, please have a look at the below link:

https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则