Aws Iam Extension for VSCode

🚀 Aws Iam Extension for VSCode allows you to interact with your Aws Iam Roles directly within VSCode. This extension streamlines the management and monitoring of IAM roles, providing an intuitive interface for managing permissions, trust relationships, tags, and viewing role information—all within your favorite code editor.
✨ Features
🎯 IAM Role Management
- Add/Remove IAM Roles: Easily add IAM roles to your workspace and manage them
- View Role Details: Access comprehensive role information
- Multiple AWS Profiles: Work with multiple AWS profiles seamlessly
- Filter & Search: Find IAM roles quickly with built-in filtering
🔐 Permissions Management
- View Policies: See all managed and inline policies attached to the role
- Policy Details: View policy ARNs and policy names
- Auto-load on Expand: Policies are automatically loaded when you expand the Permissions node
🤝 Trust Relationships Management
- View Trust Policies: See which AWS services and entities can assume the role
- Service Principals: Display all trusted service principals
- Auto-load on Expand: Trust relationships are automatically loaded when you expand the Trust Relationships node
- View All Tags: Display all IAM role tags as expandable nodes
- Add Tags: Create new tags with key-value pairs
- Update Tags: Modify existing tag values
- Remove Tags: Delete tags with confirmation
- Organization: Keep your IAM roles organized with tags
View detailed IAM role configuration in a convenient tree structure:
- Role Name
- Role ID
- ARN
- Create Date
- Path
- Max Session Duration
- Description
🎬 Quick Start
- Install the Extension: Search for "Aws Iam" in VSCode Extensions
- Configure AWS Credentials: Set up your AWS credentials (see below)
- Add IAM Role: Click the
+ icon in the IAM tree view
- Start Managing: View permissions, trust relationships, add tags, and more!
📋 Features Walkthrough
Permissions
1. Expand your IAM role
2. Click "Permissions" node
3. View all attached managed and inline policies
4. Click refresh icon to reload permissions
Trust Relationships
1. Expand your IAM role
2. Click "Trust Relationships" node
3. View all entities that can assume this role
4. See service principals and their access
1. Expand your IAM role
2. Click "Tags" node
3. Use inline icons to:
- 🔄 Refresh tags
- ➕ Add new tag
- ✏️ Update tag value
- 🗑️ Remove tag
If you find this extension useful, you can sponsor me on GitHub.
AWS Endpoint URL
You can change your AWS endpoint URL to connect to LocalStack or other AWS-compatible services:
- Default: AWS Cloud
- LocalStack:
http://localhost:4566
- Custom endpoint: Set via command palette
AWS Credentials Setup
To access AWS, you need to configure AWS credentials.
For more details on AWS credentials:
Supported Credential Sources
The extension searches for AWS credentials in the following order:
Environment Variables:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_SESSION_TOKEN (optional, for temporary credentials)
Shared Credentials File:
~/.aws/credentials (default profile or a named profile)
~/.aws/config (for region settings)
Amazon EC2 Instance Metadata Service (IMDS):
- When running on an EC2 instance with an attached IAM role
Amazon ECS Container Credentials:
- When running in an ECS task
SSO Credentials:
- If you've configured SSO using the AWS CLI
Web Identity Token:
- For federated identity access, such as Aws Iam roles for Kubernetes (EKS)
🐛 Bug Report & Feature Requests
To report bugs or request new features:
🗺️ Roadmap
Future Ideas
- Inline policy editing
- Create new IAM roles from VSCode
- Attach/detach policies
- Advanced permission analysis
📞 Connect
Follow me on LinkedIn for latest updates:
Thanks,
Necati ARSLAN
necatia@gmail.com
🔗 Other Extensions
Check out my other AWS-related VSCode extensions:
- AWS S3 – Interact with your AWS S3 buckets directly from VSCode.
- AWS Lambda – Update, Trigger & Monitor your AWS Lambda Functions.
- AWS DynamoDB – Manage & Monitor your AWS DynamoDB Tables.
- AWS SNS – Manage & Monitor & Push Messages to AWS SNS Topics.
- AWS SQS – Interact with your AWS SQS Queues directly within VSCode.
- AWS Step Functions – Monitor and manage your Step Functions.
- AWS Access – Easily manage AWS credentials and profiles.
- AWS CloudWatch – Monitor logs and metrics effortlessly.
- Apache Airflow – Simplify Airflow DAG management and debugging.
Made with ❤️ for the AWS Community