SKILL10.3K installs3.3K

Aws Iam

Verified corrections for IAM behaviors that AI agents frequently get wrong — policy evaluation edge cases, trust policy gotchas, STS session limits, Organizations quirks, and SAML/MFA specifics. Also provides structured workflows for IAM role management and least-privilege policy generation. Covers condition operator safety (ForAnyValue/ForAllValues with Null checks for absent keys), bucket policy deny patterns (VPC endpoint restrictions, org path conditions), resource-based policy confused deputy protection, and service role creation for AWS services (Glue, CloudTrail, VPC Flow Logs, Firehose, DataSync, S3 replication, Lambda, Step Functions, ECS, etc.) including trust policies with aws:SourceAccount/aws:SourceArn conditions. Applies when creating or configuring IAM roles, writing IAM or bucket policies, working with STS, Organizations, condition operators, or any task requiring an IAM service role or execution role. Does not cover non-IAM authorization like Cognito user-pool policies

Type
Skill
Author
aws
Category
Security
GitHub stars
3.3K
Installs
10.3K
Last updated
November 2, 2026

Install

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-iam

Use cases


Frequently Asked Questions

What IAM areas does it cover?

Policy evaluation edge cases, trust policy gotchas, STS session limits, Organizations quirks, and SAML/MFA specifics.

Does it cover Cognito user-pool policies?

No — it does not cover non-IAM authorization such as Cognito user-pool policies.

Which services can it help create service roles for?

Services like Glue, CloudTrail, VPC Flow Logs, Firehose, DataSync, S3 replication, Lambda, Step Functions, and ECS, including trust policies with aws:SourceAccount and aws:SourceArn conditions.


About this skill

Provides verified corrections for IAM behaviors that AI agents commonly get wrong, covering policy evaluation edge cases, trust policy gotchas, STS session limits, Organizations quirks, and SAML/MFA specifics. It also supplies structured workflows for role management and least-privilege policy generation, including condition operator safety, bucket policy deny patterns, confused deputy protection, and service role creation for services like Glue, CloudTrail, and Lambda. Applies whenever you are creating IAM roles, writing policies, or working with STS and Organizations; it does not cover non-IAM authorization such as Cognito user-pool policies.

Summary written with AI assistance from the project's public description.


Categories


More from aws


Similar Skills