Home › Forums › AWS › AWS Certified Solutions Architect Associate › IAM, add users to role
Tagged: role
-
IAM, add users to role
Nikee-TutorialsDojo updated 1 month ago 2 Members · 2 Posts -
AWS IAM console, how to add users to role ? e.g. Role AWSServiceRoleForSupport default exists, how to add users to this role ?
If it does in JSON doc, if there is tens of users, is JSON only way but not in GUI ?
thanks
-
Hello St73,
Thank you for your question regarding adding users to a role in AWS IAM, specifically for roles like AWSServiceRoleForSupport.
Roles in AWS IAM are designed for delegation, and users cannot be added to them directly. Instead, roles are assumed by users or services as needed. Here’s how you can configure this:
-
Enable Users to Assume the Role:
- To allow users to assume a role, you must create a policy that includes the sts:AssumeRole permission and specify the role’s Amazon Resource Name (ARN).
- Attach this policy to the users or groups in the AWS Management Console, enabling them to assume the role.
-
Managing Permissions for Multiple Users:
- While the AWS Management Console provides an interface for managing permissions individually, managing tens of users efficiently typically requires creating and editing JSON policies.
- If you need to automate the process for multiple users, consider using AWS CLI or AWS SDKs to apply the policies in bulk.
If you require any assistance setting this up or have further questions, please let us know. We’re here to help!
Regards,
Nikee @ Tutorials Dojo
-
Log in to reply.