Home › Forums › AWS › AWS Certified Solutions Architect Associate › IAM, add users to role › Reply To: IAM, add users to role
-
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
-