Individual skill
iam-best-practices
Least-privilege cloud IAM: policy scope, privilege-escalation paths, permissions boundaries, workload identity over static keys, MFA enforced by policy, cross-account trust, and separating deploy from runtime. Use when generating IAM policies, roles, or trust documents, wiring CI/CD service accounts or workload identities, delegating role creation, or designing cross-account access.
skills/iam-best-practices/SKILL.md
Source commit eaba88102d91df65a9aa6397e8507c315c018f5e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Standard SKILL.md format has not been attested at this commit. No installation command is available; inspect the source.
Repository context
- Repository stars (not skill ratings)
- 23
- Repository last updated
- Aug 14, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- llm Repository topic
- security Repository topic
- skills Repository topic
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,061 bytesreferences/escalation-paths.mddoc · 4,769 bytesreferences/verifying-findings.mddoc · 3,174 bytesrules/iam_policy_invariants.jsonasset · 3,391 bytesrules/key_rotation_policy.jsonasset · 2,561 bytestests/corpus.jsonasset · 4,765 bytes
Read excerpt
# Identity & Access Management Best Practices
## Rules (for AI agents)
### ALWAYS
- Grant the minimum permissions the workload's stated job requires: deny by default,
then add concrete actions against concrete resources. A wildcard action on a
wildcard resource — in a custom policy, in `AdministratorAccess`, or in `iam:*`
attached to something that runs continuously — is the same finding wearing three
different names.
- Read a policy for the **privileges it can reach**, not only the ones it names. A
principal that can write policy (`iam:PutRolePolicy`, `iam:AttachRolePolicy`,
`iam:CreatePolicyVersion`) can grant itself anything, and a principal that can pass
a role into a compute service it may also create (`iam:PassRole` with