Create a new policy or use an existing.
Step 1: Open the AWS Management Console
Step 2: Search for IAM in the search bar and Click the IAM icon
Step 3: Navigate to the Policies section
Step 4: Choose the policy you want to use
Step 5: Create the policy according to your needs if there isn’t one.Click on the ‘Create Policy’ Button.
The following represents the first step in creating a policy in which you can specify permissions. Choose the ‘JSON’ button in the navigation bar and the services that you want to create a policy for. Next, list the action you want to add to this policy. After successfully creating the policies, click on the ‘NEXT’ button.
Next, you can ‘Review and Create’ the policy.
Hence have we have successfully managed to create a policy.
What Is AWS IAM Policy?
In this article, we will learn about identity and access management (IAM) policies in Amazon Web Services. IAM in AWS is a free service that allows the owner of an AWS account known as the root to grant other users and services access to his account’s resources on his behalf. The policies in Iam allow the admin to have fine-grained control over his account resources. It calls for the admin to implement the principle of least privilege to maintain the security and privacy of his account and not get any unintended bills.
Each organization has a single root account. All the other users are provided access to only what they need, to perform their day-to-day job. This is the principle of least privilege. For example: You are an employee in an office. You can enter the office with your i-card, but the building does not belong to you. It is the property of the company. Then, you do not have access to all the rooms in your office. You can only enter those parts of the building that you are authorized to access.