# Install aws2-wrap with Homebrew

Script to export current AWS SSO credentials or run a sub-process with them. Version 1.4.0 via Homebrew; verified 2026-05-19.

## Install

```sh
sudo av install brew:aws2-wrap
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install aws2-wrap
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:aws2-wrap
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/aws2-wrap>
- **Version:** 1.4.0
- **Source summary:** Script to export current AWS SSO credentials or run a sub-process with them
- **Homepage:** <https://github.com/linaro-its/aws2-wrap>
- **Repository:** <https://github.com/linaro-its/aws2-wrap>
- **Upstream docs:** <https://github.com/linaro-its/aws2-wrap#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://files.pythonhosted.org/packages/6d/c7/8afdf4d0c7c6e2072c73a0150f9789445af33381a611d33333f4c9bf1ef6/aws2-wrap-1.4.0.tar.gz>
- **Last updated:** 2026-05-19T07:45:48-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- aws2-wrap (cli)
- aws2-wrap (alias)

## Dependencies

- python@3.14

## 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: 1.4.0
- Package-manager updated: 2026-05-19
- Local data: ok
- Upstream repository: https://github.com/linaro-its/aws2-wrap
- info: No cached GitHub release or tag data was available.
## Project history and usage

`aws2-wrap` is a small Python wrapper for using AWS CLI v2 SSO credentials with tools that did not understand SSO profile entries. It can run commands, export credentials, generate temporary AWS config/credentials profiles, and provide a `credential_process` bridge.

### Project history

The public repository was created in January 2020, and PyPI shows aws2-wrap 1.0.0 uploaded a few days later. The README explains that the name refers to AWS CLI v2, even though the CLI binary is no longer called `aws2`.

By June 2026 the GitHub repository was archived, making it best understood as a transitional utility from the early AWS CLI v2 SSO period rather than an actively expanding AWS credential platform.

### Adoption history

The package reached PyPI and Homebrew, but Homebrew analytics showed only single-digit 30-day installs in June 2026. That fits its niche: it is valuable when a legacy tool cannot consume SSO profile data, but it is less central once AWS SDKs and tools improve native SSO support.

### How it is used

Typical usage is `aws2-wrap --profile MySSOProfile terraform plan`, `eval "$(aws2-wrap --profile MySSOProfile --export)"`, or a `credential_process = aws2-wrap --process --profile <profile>` entry in `.aws/config`. The README also documents generating temporary profile sections into `$AWS_CONFIG_FILE` and `$AWS_SHARED_CREDENTIALS_FILE`.

### Why package nerds care

Its significance is its smallness: `aws2-wrap` is essentially a compatibility shim that exists because package ecosystems move at different speeds. For maintainers, it is a good example of a tool whose best history is the gap it closed, not a sprawling feature set.

### Timeline

- 2020-01: Public GitHub repository created.
- 2020-01: aws2-wrap 1.0.0 uploaded to PyPI.
- 2023-12: aws2-wrap 1.4.0 uploaded to PyPI.
- 2025-08: GitHub repository last pushed and marked archived.

### Related projects

- `aws-sso-util credential-process` and AWS CLI v2 native SSO support solve overlapping compatibility problems.
- `aws-vault` and `aws-sso-cli` are broader credential-management tools rather than a narrow wrapper.

### Sources

- <https://formulae.brew.sh/api/formula/aws2-wrap.json>
- <https://github.com/linaro-its/aws2-wrap>
- <https://pypi.org/pypi/aws2-wrap/json>
- <https://raw.githubusercontent.com/linaro-its/aws2-wrap/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: ~/.aws/config
- Windows: %USERPROFILE%\.aws\config

## Credential files

- Unix: ~/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials
## Source Database Details

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


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control 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.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [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.
- [aws-iam-authenticator](https://www.automicvault.com/pkg/brew/aws-iam-authenticator/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-sso-util](https://www.automicvault.com/pkg/brew/aws-sso-util/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.
- [aws-shell](https://www.automicvault.com/pkg/brew/aws-shell/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/aws2-wrap.yml](https://github.com/automic-vault/db/blob/main/combined/aws2-wrap.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
- cross-ecosystem install command graph
