macOS
brew install awsumelocal Homebrew formula metadata
安装
brew install awsumelocal Homebrew formula metadata
nix profile install nixpkgs#awsumenixpkgs package indexes · pkgs/by-name/aw/awsume/package.nix · 来源: api.github.com
概览
Utility for easily assuming AWS IAM roles from the command-line
历史
AWSume is a command-line utility for assuming AWS IAM roles and exporting the resulting credentials into the user's shell environment. It is built around a daily AWS workflow: move between profiles, MFA-backed sessions, and role chains without hand-editing environment variables.
The `trek10inc/awsume` repository was created in March 2016. Its official documentation describes AWSume as a utility for retrieving and exporting AWS credentials from AWS shared config and credentials files, including profiles that require MFA or assume-role calls.
By the v4 era, the docs emphasized shell integration: on Unix-like systems AWSume needs to be sourced or aliased because a child process cannot update a parent shell's environment. The project also grew plugin and extra-feature support, including SAML, fuzzy matching, console helpers, auto-refresh, role chaining, and credential export back into AWS profile files.
AWSume's adoption is mostly among developers and operators managing many AWS accounts or roles. That is a common agency, consulting, and platform-team problem: the standard AWS shared profile format is flexible, but repeatedly calling STS and exporting temporary credentials is tedious.
The official docs recommend pipx or pip rather than Homebrew, while the Homebrew formula still exists for users who prefer system package managers. That split is worth noting: package-manager availability is convenient, but the project itself treats Python packaging as the official install path.
A normal workflow is `awsume <profile_name>` after shell alias setup. AWSume reads `~/.aws/config` and `~/.aws/credentials`, handles MFA or role assumption when needed, then sets variables such as `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`, and region variables.
AWSume stores its own configuration at `~/.awsume/config.yaml` by default, or `${XDG_CONFIG_HOME}/awsume/config.yaml` when XDG config is set. It also caches MFA-authenticated credentials under `~/.awsume/cache/` according to the official overview.
AWSume is important for package nerds because it highlights a packaging wrinkle: some command-line tools are not just executables, they must integrate with the parent shell. The install is only half the story; aliases, shell wrappers, and PATH behavior determine whether it actually works.
It also belongs to the larger AWS credential-helper family: focused tools that do not replace AWS CLI but make AWS CLI, SDKs, and arbitrary subprocesses easier to use safely with temporary credentials.
安全态势
没有找到 awsume 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.awsume/config.yaml${XDG_CONFIG_HOME}/awsume/config.yaml~/.aws/configCredential-bearing paths to review before unattended agent runs.
~/.aws/credentials可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
autoawsume | cli | 全局可执行文件 | |
awsume | cli | 全局可执行文件 | |
awsume-autocomplete | cli | 全局可执行文件 | |
awsume-configure | cli | 全局可执行文件 | |
awsume.bat | cli | 全局可执行文件 | |
awsume.fish | cli | 全局可执行文件 | |
awsume.ps1 | cli | 全局可执行文件 | |
awsumepy | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/trek10inc/awsume
安装元数据
| 软件包键 | brew:awsume |
|---|---|
| 版本 | 4.5.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/awsume |
| 主页 | https://awsu.me |
| 仓库 | https://github.com/trek10inc/awsume |
| 上游文档 | https://awsu.me/ |
| 许可证 | MIT |
| 源码归档 | https://github.com/trek10inc/awsume/archive/refs/tags/4.5.5.tar.gz |
| 最后更新 | 2026-06-22T09:49:41-04:00 |
| Pulse | updated |
| 依赖 | libyaml, python@3.14 |
| macOS 提供的库 | sqlite |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | awsume |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
awsume
nix profile install nixpkgs#awsume来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.