This project demonstrates AWS Identity and Access Management (IAM) by creating users, groups, managed policies, and custom policies to implement secure access control for Amazon S3 resources.
The project follows the Principle of Least Privilege by assigning users only the permissions required for their responsibilities.
- AWS IAM (Identity and Access Management)
- Amazon S3
- Create IAM users and groups
- Assign AWS managed policies
- Create and attach custom IAM policies
- Implement role-based access control
- Validate permissions through user testing
- Understand security best practices
- Group: S3-ReadOnly-Group
- Policy: AmazonS3ReadOnlyAccess
- Access Level: Read Only
- Group: S3-FullAccess-Group
- Policy: AmazonS3FullAccess
- Access Level: Full Administrative Access
- Group: Custom-S3-Group
- Policy: Custom-S3-ReadOnly-NoDelete
- Access Level: Read Access with Delete Restrictions
- S3-ReadOnly-Group
- S3-FullAccess-Group
- Custom-S3-Group
- AmazonS3ReadOnlyAccess
- AmazonS3FullAccess
Policy Name: Custom-S3-ReadOnly-NoDelete
The custom IAM policy used in this project is available in the policies directory:
policies/custom-s3-readonly-nodelete.json
Purpose:
- Allow users to list S3 buckets
- Allow users to read S3 objects
- Explicitly deny deletion of S3 objects
This demonstrates fine-grained access control using custom IAM policies.
The configured permissions were tested to verify access control:
- Can view S3 resources
- Cannot perform administrative actions
- Can create, modify, and delete S3 resources
- Has full access to Amazon S3
- Can view S3 buckets and objects
- Cannot delete S3 objects due to explicit deny rules
- Identity and Access Management (IAM)
- Role-Based Access Control (RBAC)
- AWS Managed Policies
- Custom Policies
- Principle of Least Privilege
- Permission Validation
- Access Governance
IAM Users ↓ IAM Groups ↓ IAM Policies ↓ Amazon S3 Resources
- IAM Dashboard
- User Creation
- Group Creation
- AWS Managed Policy Assignment
- Custom Policy Creation
- ReadOnly User Permissions
- FullAccess User Permissions
- Custom Policy Configuration
- Permission Validation
- AWS IAM
- User Management
- Group Management
- Policy Management
- Access Control
- AWS Security
- Principle of Least Privilege
- Identity Management
Successfully implemented secure access control in AWS using IAM users, groups, managed policies, and custom policies while demonstrating the Principle of Least Privilege and role-based access management.