Dung (Donny) Nguyen

Senior Software Engineer

Granting Access to Roles vs Users

In cloud computing, it is recommended to grant resource access to a role instead of directly to a user for several reasons:

1. Enhanced Security through Least Privilege

2. Scalability and Manageability

3. Temporary and Limited Access

4. Support for Service and Cross-Account Access

5. Auditability

6. Reduction of Hardcoded Credentials

Example in AWS:

By granting access to roles, you create a more secure, flexible, and manageable cloud environment.