Setting Up IAM Permissions
Set up permissions for an IAM role or user by creating a permissions policy and attaching it to the IAM role/user. This topic describes how to set up permissions for an IAM role or user:
Create a New IAM Policy
Performing the following steps to create a new IAM policy:
-
In the AWS Management Console, open the IAM console.
-
In the navigation pane, click Policies, and then click Create policy.
-
On the Create policy page, click the JSON tab and paste the IAM permissions policy into the editor.
-
Click Next: Tags.
-
(Optional) In the Add tags page, you can add tags as key-value pairs to AWS resources for helping identify, organize, or search for AWS resources. Click Add tag. Enter a key and a corresponding value. You can add up to 50 tags.
-
Click Next: Review.
-
In the Review policy page, for Name, enter a name.
-
(Optional) For Description, enter the description for the policy that is being created.
-
The Summary section shows the properties of the policy that is being created. This section shows whether or not the actions defined by the policy that is being created have an applicable resource or condition. Ensure that to grant access, policies must have an action that has an applicable resource or condition.
-
Click Create policy.
Attach the Policy to an IAM Role or User
Perform the following steps to attach the policy created in the previous step to an IAM role/user:
-
In the AWS Management Console, open the IAM console.
-
In the navigation pane, click Policies.
-
In the list of policies, check the box next to the name of the policy created in the previous steps. Use the Filter menu and the search box to find the policy if necessary.
-
From the Actions dropdown, select Attach.
-
Select one or more roles/users to attach the policy to by checking the boxes. You can use the Filter menu and the search box to find the role/user if required.
-
Click Attach policy.