Update Tags across entire account

0

Is there a way to grant a role in AWS to be able to only update tags across the entire account? I am able to do that as a root user. But, would like a different approach.

AWS
已提问 4 年前261 查看次数
1 回答
0
已接受的回答

I presume you mean being able to do add tags across ANY AWS resource on the account right? In that case, you can do that as the root user because by default it has unrestricted access to everything. In this case, for any other IAM entity, you'd have to look up the permissions for each service that pertains to tags. Such as ec2:CreateTags, iam:TagUser, iam:TagRole, rds:AddTagsToResource, etc. As you can see this will unfortunately be a cumbersome approach as the tagging APIs are not consistent across various services so sadly there isn't a quick policy you can have that will work across all services which is I believe what you're looking for. I recommend focusing on just the services your customer needs, looking up the APIs that relate to tag create, modify, delete, and non-mutable activities and create an IAM policy based off of that. If it's only for a handful of services then it shouldn't be too difficult, otherwise the task will be much more complex.

Couple other useful resources you should keep in mind are checking whether the service supports ABAC and if you can use resource groups on supported services to tag multiple resources at once.

AWS
专家
gabaws
已回答 4 年前

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

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

回答问题的准则