# 使用 Homebrew, Nix 安装 iamy

查看 iamy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:iamy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install iamy
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#iamy
```

  证据: nixpkgs package indexes: pkgs/by-name/ia/iamy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:iamy
- **软件包管理器:** Homebrew
- **版本:** 2.4.0
- **来源摘要:** AWS IAM import and export tool
- **主页:** <https://github.com/99designs/iamy>
- **仓库:** <https://github.com/99designs/iamy>
- **最后更新:** 2026-07-26T04:07:47+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- iamy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.4.0
## 项目历史与用法

IAMy is a Go command-line tool from 99designs for dumping AWS IAM users, groups, roles, and policies into YAML files and pushing YAML-backed IAM changes back through AWS CLI commands.

### 项目历史

The project grew out of the infrastructure-as-code practice of keeping IAM state in a reviewable repository. Its README describes the two-command model: `pull` syncs IAM resources into YAML and `push` turns YAML changes into an execution plan of AWS CLI commands.

### 采用历史

IAMy remained a niche AWS operations tool rather than a broad cloud framework. Homebrew and Nix packaging made it easy for Unix-oriented infrastructure teams to install, and the GitHub repository accumulated a modest community of users around the YAML export/import workflow.

### 使用方式

Operators use IAMy when they want AWS IAM represented as ordinary files that can be reviewed in pull requests. The tool deliberately prints AWS CLI commands for `push`, which makes destructive or privilege-changing operations visible before execution.

### 为什么软件包爱好者会关心

For package collectors, IAMy is a compact example of the pre-CloudFormation/Terraform tooling layer around AWS IAM: small Go binaries, YAML state, Homebrew distribution, and explicit links to neighboring tools such as iamer, Terraform, the AWS CLI, and aws-vault.

### 时间线

- v1.0.0: The repository tagged a 1.0 line after early file-layout work.
- v2.0.0: The release notes describe a layout-changing release that added S3 bucket ACL management and normalized AWS policy documents.
- v2.1.0: The release notes added a dry-run flag, policy and role descriptions, and cleanup for excess policy versions.
- 2021: v2.4.0 added slower but more accurate CloudFormation filtering and fixed IAM role/instance-profile deletion ordering.

### Related projects

- The README names percolate/iamer and Terraform as inspiration or adjacent tools, and it points users to AWS CLI environment variables and 99designs/aws-vault for credential handling.

### 来源

- <https://formulae.brew.sh/formula/iamy>
- <https://github.com/99designs/iamy>
- <https://github.com/99designs/iamy/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - iamy: normalized package name match | nixpkgs package indexes: pkgs/by-name/ia/iamy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/iamy.yml](https://github.com/mxcl/pkgdb/blob/main/combined/iamy.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
