# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/iamy>
- **版本:** 2.4.0
- **来源摘要:** AWS IAM import and export tool
- **主页:** <https://github.com/99designs/iamy>
- **仓库:** <https://github.com/99designs/iamy>
- **许可证:** MIT
- **源码归档:** <https://github.com/99designs/iamy/archive/refs/tags/v2.4.0.tar.gz>
- **最后更新:** 2026-07-26T04:07:47+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- iamy (cli)
- iamy (别名)

## 依赖

- awscli

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.4.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/99designs/iamy
- 检测到的最新版本: v2.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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** iamy
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [awscli](https://pkg.so/zh-hans/brew/awscli/) - Runtime dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [cfn-lint](https://pkg.so/zh-hans/brew/cfn-lint/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [aws-iam-authenticator](https://pkg.so/zh-hans/brew/aws-iam-authenticator/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, iam.
- [aws-cdk](https://pkg.so/zh-hans/brew/aws-cdk/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [rain](https://pkg.so/zh-hans/brew/rain/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [awsume](https://pkg.so/zh-hans/brew/awsume/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, iam.
- [terraform-local](https://pkg.so/zh-hans/brew/terraform-local/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [cloudformation-cli](https://pkg.so/zh-hans/brew/cloudformation-cli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, infrastructure-as-code.
- [awsdac](https://pkg.so/zh-hans/brew/awsdac/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, yaml.
- [terracognita](https://pkg.so/zh-hans/brew/terracognita/) - Local package facts share a topical domain. Shared terms: aws, cli, cloud, cloud-infrastructure, code.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
