Automic VaultAutomic Vault

brew

Install awsume with Homebrew, Nix

Utility for easily assuming AWS IAM roles from the command-line. Version 4.5.5 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install awsume

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#awsume

nixpkgs package indexes · pkgs/by-name/aw/awsume/package.nix · source: api.github.com

overview

Package summary

Utility for easily assuming AWS IAM roles from the command-line

Commands and aliases

  • autoawsume
  • awsume
  • awsume-autocomplete
  • awsume-configure
  • awsume.bat
  • awsume.fish
  • awsume.ps1
  • awsumepy

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: Public GitHub repository `trek10inc/awsume` created.
  • 2019: v4.0.0-era tag/commit appears in the repository history.
  • 2020: v4.5.0 release commit recorded.
  • 2024: Official docs mention 4.5.x credential_process support and 4.4.x role-chaining improvements.

Related projects

  • AWS CLI and AWS SDKs consume the environment variables and shared credentials AWSume manages.
  • AWS STS AssumeRole and GetSessionToken are the AWS API operations behind many AWSume workflows.
  • awsume-console-plugin and other AWSume extras extend the core credential workflow.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for awsume. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.awsume/config.yaml${XDG_CONFIG_HOME}/awsume/config.yaml~/.aws/config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials

executables

Installed executables

CommandKindExposureNote
autoawsumecliglobal executable
awsumecliglobal executable
awsume-autocompletecliglobal executable
awsume-configurecliglobal executable
awsume.batcliglobal executable
awsume.fishcliglobal executable
awsume.ps1cliglobal executable
awsumepycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.5.5
manager updated2026-06-22
local dataok
upstreamcurrent
latest detected4.5.5

https://github.com/trek10inc/awsume

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:awsume
Version4.5.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/awsume
Homepagehttps://awsu.me
Repositoryhttps://github.com/trek10inc/awsume
Upstream docshttps://awsu.me/
LicenseMIT
Source archivehttps://github.com/trek10inc/awsume/archive/refs/tags/4.5.5.tar.gz
Last updated2026-06-22T09:49:41-04:00
Pulseupdated
Dependencieslibyaml, python@3.14
Uses from macOSsqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameawsume
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

awsume

nix profile install nixpkgs#awsume
  • normalized package name match
  • Matched by: Awsume
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/aw/awsume/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment