iam

Solid

AWS Identity and Access Management for users, roles, policies, and permissions. Use when creating IAM policies, configuring cross-account access, setting up service roles, troubleshooting permission errors, or managing access control.

AI & Automation 1,111 stars 440 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# AWS IAM AWS Identity and Access Management (IAM) enables secure access control to AWS services and resources. IAM is foundational to AWS security—every AWS API call is authenticated and authorized through IAM. ## Table of Contents - [Core Concepts](#core-concepts) - [Common Patterns](#common-patterns) - [CLI Reference](#cli-reference) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) - [References](#references) ## Core Concepts ### Principals Entities that can make requests to AWS: IAM users, roles, federated users, and applications. ### Policies JSON documents defining permissions. Types: - **Identity-based**: Attached to users, groups, or roles - **Resource-based**: Attached to resources (S3 buckets, SQS queues) - **Permission boundaries**: Maximum permissions an identity can have - **Service control policies (SCPs)**: Organization-wide limits ### Roles Identities with permissions that can be assumed by trusted entities. No permanent credentials—uses temporary security tokens. ### Trust Relationships Define which principals can assume a role. Configured via the role's trust policy. ## Common Patterns ### Create a Service Role for Lambda **AWS CLI:** ```bash # Create the trust policy cat > trust-policy.json << 'EOF' { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] } EOF # Create the role aws iam create-rol...

Details

Author
itsmostafa
Repository
itsmostafa/aws-agent-skills
Created
7 years ago
Last Updated
5 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category