How can I use AWS Identity and Access Management (IAM) to allow user access to resources?

Last updated: 2019-07-09

I want to allow users or groups access to my AWS resources. How can I do that using AWS Identity and Access Management (IAM)?

Resolution

You can create IAM identities (users, groups, roles) and assign custom permissions sets (IAM policies) to those identities. This allows you to grant each user access to only the services, resources, and information that they need to perform tasks. Each user can also be assigned unique security credentials, access keys, and multi-factor authentication devices.

Note: It's a best practice to grant least privilege for only the permissions required to perform a task. For more information, see Grant Least Privilege.

You can also integrate IAM policies and permissions with directories that you already manage (for example, Microsoft Active Directory, AWS Directory Service, or an OpenID Connect provider). For more information, see Identity Providers and Federation.

You can interact with IAM through the web-based IAM console, the AWS Command Line Interface, or the AWS API or SDKs. IAM is offered at no additional charge. For more information, see Getting Started in the IAM User Guide.

For a list of AWS services that support IAM, see AWS Services that Work with IAM.


Did this article help you?

Anything we could improve?


Need more help?