How to add custom IAM Policies to Users in AWS

How to add custom IAM Policies to Users in AWS

Introduction

IAM (Identity and Access Management) in AWS (Amazon Web Services) allows you to control access to your resources securely. To manage access permissions effectively, it's crucial to update IAM policies for users as your requirements evolve. This KB article outlines the steps to update IAM policies for users in AWS.

Prerequisites

  1. AWS account with appropriate permissions to manage IAM users and policies.
  2. Basic understanding of IAM concepts such as users, groups, roles, and policies.

Process

      Step 1: Access IAM Dashboard.

Click on the "Services" dropdown menu and select "IAM" under the "Security, Identity & Compliance" section.

Step 2: Select policies under Access Management in sidebar menu.

 

Step 3: Select Create Policy and add the JSON File.

Create custom policy in AWS IAM

Step 4: Add the custom-made policy JSON file here.

In AWS a User or User Group can be assigned with AWS Managed Policy (Pre-Made Policies by AWS) or Custom Policy, if you want to know how to create custom AWS IAM Policies follow this KB Article.

Paste the custom policy JSON here.


Step 5: Assign Custom Policy to User

Select Users under Access Management sidebar menu, and select the user you want to update the policy with.

Select "Add Permissions" under Permissions Tab


Select Attach existing policies directly and search for the newly added custom policy in the search box, once selected click Next: Review button.



Review the policy and click Add Permission to assign the policy to selected user.

Conclusion

Updating IAM policies for users in AWS is essential to ensure the right level of access control and security within your AWS environment. By following the steps outlined in this KB article, you can effectively manage and update IAM policies to align with your organization's evolving needs.

Remember to adhere to the principle of least privilege when assigning permissions to users, granting only the permissions necessary for their specific roles and responsibilities. Regularly review and audit IAM policies to maintain a robust security posture in AWS.

    • Related Articles

    • VPN users unable to reach internet -Fortinet

      We achieved success after enabling split tunnel for both VPN groups you created also on the tunnel mode and full mode sections. After that we were able to connect to the VPN with different users and have access to the internal network wihout loosing ...
    • Add user account in mbuzztech portal

      Mbuzz Support Portal Account MBUZZTECH portal account is required to access Support Center. Support Center contains Knowledge Base, Community and Tickets Knowledge Base - Browse through our collection of articles, user guides and FAQs. Community - ...
    • ASUS NUC 13 Pro USB and LAN add on Assembly

      The ASUS NUC 13 Pro is a compact and powerful mini PC. To integrate USB and LAN add-on cards, follow these steps: Open the case and locate the appropriate slots for the USB and LAN add-on cards. properly assemble the Add on card module. Remove the ...
    • Creating RAID using an add-on Card through the BIOS

      Creating Raid Configuration using an Add-on RAID Card through BIOS To create a RAID configuration using an add-on RAID card through the BIOS, you'll typically follow these general steps. Keep in mind that specific steps can vary based on the RAID ...
    • What is a 𝗩𝗲𝗰𝘁𝗼𝗿 𝗗𝗮𝘁𝗮𝗯𝗮𝘀𝗲?

      With the rise of Foundational Models, Vector Databases skyrocketed in popularity. The truth is that a Vector Database is also useful outside of a Large Language Model context. When it comes to Machine Learning, we often deal with Vector Embeddings. ...