paulpas/agent-skill-router/aws-iam

Claude Code and agent skill by paulpas/agent-skill-router

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Implements AWS Identity and Access Management (IAM) for securely managing users, groups, roles, and permissions in the AWS ecosystem.

Install

npx vskill@latest install paulpas/agent-skill-router/aws-iam

SKILL.md

The same SKILL.md was published earlier as paulpas/agent-skill-router/aws-iam.

Comprehensive Guide to AWS IAM

AWS Identity and Access Management (IAM) enables organizations to manage access and user identities effectively. Here’s an in-depth exploration of its features and best practices:

Key Features:
  • Secure Control of Access: Manage permissions to AWS resources securely, ensuring only authorized users have access.
  • Multi-Factor Authentication (MFA): Increase security by requiring multiple forms of verification.
  • Identity Federation: Allows users to log into AWS using external identity providers like Google or Facebook.
Best Practices:
  1. Principle of Least Privilege: Always assign the least amount of privilege necessary for users to perform their tasks effectively. This minimizes security risks associated with human error or unauthorized access.
  2. Utilize IAM Roles for AWS Services: Instead of hardcoding credentials, assign roles to AWS services that require access to other AWS services, thereby enhancing security posture.
  3. Implement MFA: Add an additional layer of security by requiring Multi-Factor Authentication for sensitive operations.
  4. Regularly Audit Permissions: Use AWS IAM Access Analyzer and CloudTrail to monitor user permissions and remove any unnecessary ones periodically.
Implementation Example: Creating a User and Assigning Permissions
python
import json
import boto3
from botocore.exceptions import ClientError
# Create IAM client
client = boto3.client('iam')
# Function to create a new IAM user
def create_user(user_name):
try:
client.create_user(UserName=user_name)
print(f"User '{user_name}' created successfully.")
except ClientError as e:
print(f"Error creating user: {e}")
# Function to attach a policy to the user
def attach_policy(user_name, policy_arn):
try:
client.attach_user_policy(
UserName=user_name,
PolicyArn=policy_arn
)
print(f"Policy '{policy_arn}' attached to user '{user_name}'.")
except ClientError as e:
print(f"Error attaching policy: {e}")
# Create user and assign permissions
user_name = 'NewUser'
create_user(user_name)
attach_policy(user_name, 'arn:aws:iam::aws:policy/ReadOnlyAccess')
FAQs About AWS IAM Functionality:
  • Q: Can IAM roles be used in Lambda functions?

Yes! AWS Lambda functions can assume IAM roles to get necessary permissions dynamically.

  • Q: How do I audit IAM usage?

Utilize AWS CloudTrail for tracking user activity and AWS Config rules to evaluate IAM configurations.

  • Q: Is it possible to enforce tagging for resource access?

Absolutely! IAM allows you to create policies that enforce tag-based access control, helping align permissions with resources effectively.

By leveraging AWS IAM, organizations can build a robust security framework to manage access and permissions efficiently in their AWS environments, helping gain better control over sensitive data and operations.



Constraints

MUST DO
  • Configure all AWS resources with explicit tagging for cost allocation, ownership tracking, and compliance
  • Use AWS SDK (Boto3) typed clients instead of resource API where type safety matters — prefer client() over resource()
  • Implement error handling that distinguishes between retryable (Throttling, RequestLimitExceeded) and non-retryable errors
  • Use IAM roles with least-privilege policies scoped to specific actions and resources, never wildcard permissions
MUST NOT DO
  • Do not hardcode AWS credentials — use IAM roles, environment variables, or AWS Secrets Manager
  • Avoid unencrypted S3 buckets or RDS instances in production without explicit KMS encryption configuration
  • Never launch EC2 instances without specifying a security group and subnet — always use VPC networking explicitly
  • Do not use the default endpoint region — always specify the target region explicitly in all SDK calls

Live References

Authoritative documentation links for this skill's domain. The model follows markdown links at load time to resolve external references and inline content.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
9
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/paulpas/agent-skill-router/aws-iam/badge)](https://verified-skill.com/skills/paulpas/agent-skill-router/aws-iam)

Something wrong with this skill or its page? Tell us.