iam-best-practices

仓库创建 2026年7月1日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

覆盖多云与 Kubernetes 场景,适合安全与运维团队采用。

▸ 风险提示

部分操作需高权限,误配置可能造成权限丢失或服务中断。

这个 Skill 做什么

最小权限设计、密钥轮换、MFA 与跨账号访问的 IAM 最佳实践集合。

围绕最小权限、密钥轮换、MFA 与跨账号访问给出 IAM 设计建议,覆盖 AWS/GCP/Azure 和 Kubernetes 场景。在做权限设计、审计或实现访问控制时用,目标是把风险降到最低同时支持跨账户/跨集群访问。特色是推荐 deny-by-default、优先使用 workload identity(如 EKS/GKE 服务账号角色)并避免泛权限组合。

▸ 展开 SKILL.md 英文原文

Least-privilege IAM design, key rotation, MFA enforcement, role assumption, and cross-account access patterns for AWS / GCP / Azure / Kubernetes

开发编程身份与访问最小权限密钥轮换通用
2
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/iam-best-practices/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/iam-best-practices/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Identity & Access Management Best Practices

## Rules (for AI agents)

### ALWAYS
- Grant the **minimum** permissions required for the workload's stated job
  (NIST AC-6). Start with a deny-by-default policy and add concrete actions
  with explicit `Resource` ARNs; never `Action: "*"` combined with
  `Resource: "*"`.
- Prefer **workload identity** (IAM roles for service accounts on EKS,
  GKE Workload Identity, Azure Managed Identity) over long-lived access
  keys. Static access keys are the exception, not the default.
- Require **MFA** for every human IAM user, especially any principal that
  can assume a privileged role. Enforce MFA via an IAM policy condition
  (`aws:MultiFactorAuthPres
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有