# 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

```sh
sudo av install brew:awsume
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install awsume
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#awsume
```

  Evidence: nixpkgs package indexes: pkgs/by-name/aw/awsume/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:awsume
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/awsume>
- **Version:** 4.5.5
- **Source summary:** Utility for easily assuming AWS IAM roles from the command-line
- **Homepage:** <https://awsu.me>
- **Repository:** <https://github.com/trek10inc/awsume>
- **Upstream docs:** <https://awsu.me/>
- **License:** MIT
- **Source archive:** <https://github.com/trek10inc/awsume/archive/refs/tags/4.5.5.tar.gz>
- **Last updated:** 2026-06-22T09:49:41-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- autoawsume (cli)
- awsume (cli)
- awsume-autocomplete (cli)
- awsume-configure (cli)
- awsume.bat (cli)
- awsume.fish (cli)
- awsume.ps1 (cli)
- awsumepy (cli)
- autoawsume (alias)
- awsume (alias)
- awsume-autocomplete (alias)
- awsume-configure (alias)
- awsume.bat (alias)
- awsume.fish (alias)
- awsume.ps1 (alias)
- awsumepy (alias)

## Dependencies

- libyaml
- python@3.14

## Uses from macOS

- sqlite

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.5.5
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/trek10inc/awsume
- Upstream latest detected: 4.5.5 (current)
## 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.

### Sources

- <https://api.github.com/repos/trek10inc/awsume>
- <https://awsu.me/>
- <https://awsu.me/general/aws-file-configuration.html>
- <https://awsu.me/general/config.html>
- <https://awsu.me/general/overview.html>
- <https://awsu.me/general/quickstart.html>
- <https://github.com/trek10inc/awsume>


## Security Notes

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.



## 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

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

## Credential files

- Unix: ~/.aws/credentials
## Source Database Details

- **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:** head, stable

## Other Package-Manager Records

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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [gimme](https://www.automicvault.com/pkg/brew/gimme/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure, credentials.
- [amazon-ecs-cli](https://www.automicvault.com/pkg/brew/amazon-ecs-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-amplify](https://www.automicvault.com/pkg/brew/aws-amplify/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-cdk](https://www.automicvault.com/pkg/brew/aws-cdk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-console](https://www.automicvault.com/pkg/brew/aws-console/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-elasticbeanstalk](https://www.automicvault.com/pkg/brew/aws-elasticbeanstalk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-es-proxy](https://www.automicvault.com/pkg/brew/aws-es-proxy/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-google-auth](https://www.automicvault.com/pkg/brew/aws-google-auth/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [awscli-local](https://www.automicvault.com/pkg/brew/awscli-local/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, bat, cli, cloud, cloud-infrastructure.
- [awscli](https://www.automicvault.com/pkg/brew/awscli/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, command-line.
- [awslogs](https://www.automicvault.com/pkg/brew/awslogs/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, command-line.

## Combined YAML source

View the package source record on GitHub. [combined/awsume.yml](https://github.com/automic-vault/db/blob/main/combined/awsume.yml)


## Sources

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