Permissions let you specify who has access to AWS resources and which actions they can perform on those resources. Every AWS Identity and Access Management (IAM) user starts with no permissions. In other words, by default, users can do nothing, not even view their own access keys. To give a user permission to do something, you can add the permission to the user (that is, attach a policy to the user), or add the user to a group that has the desired permission.
How to Create a Limited IAM Administrator by Using Managed Policies
An Easier Way to Manage Your Policies
Make a New Year’s Resolution: Adhere to IAM Best Practices
Enable a New Feature in the AWS Management Console: Cross-Account Access
Enhanced IAM Capabilities for the AWS Billing Console
With new ELB permissions, support for IAM in AWS is going strong
Get Started with AWS for Free
Create a Free AccountOr Sign In to the Console
AWS Free Tier includes 750hrs of Micro Cache Node with Amazon ElastiCache.
To assign permissions to a user, group, role, or resource, you create a policy that lets you specify:
- Actions – Which AWS actions you allow. For example, you might allow a user to call the Amazon S3 ListBucket action. Any actions that you don't explicitly allow are denied.
- Resources – Which AWS resources you allow the action on. For example, what Amazon S3 buckets will you allow the user to perform the ListBucket action on? Users cannot access any resources that you do not explicitly grant permissions to.
- Effect – Whether to allow or deny access. Because access is denied by default, you typically write policies where the effect is to allow.
- Conditions – Which conditions must be present for the policy to take effect. For example, you might allow access only to the specific S3 buckets if the user is connecting from a specific IP range or has used multi-factor authentication at login.
Policies are created using JSON. A policy consists of one or more statements, each of which describes one set of permissions. Here's an example of a simple policy:
{
"Version":"2012-10-17",
"Statement":[{
"Effect":"Allow",
"Action":"s3:ListBucket",
"Resource":"arn:aws:s3:::example_bucket"
}]
}
If you use the AWS Management Console to manage permissions, you can select a predefined policy template or use a policy generator. Any policy can be customized. For more information, see the Overview of AWS IAM Policies section of the Using IAM guide.
