aws-browser
Open the aws console in a browser, using CLI credentials
Installation
This package is available on PyPI. Using uv is recommended, but pipx and pip work as well.
Run it directly without installing (uv downloads and caches it for you):
uvx aws-browser
Install it as a persistent tool:
uv tool install aws-browser
pipx install aws-browser
pip install aws-browser
Or to install from source:
uv tool install git+https://github.com/WeAreCloudar/aws-browser.git
pipx install git+https://github.com/WeAreCloudar/aws-browser.git
Usage
Run aws-browser with your AWS CLI credentials available (through your environment, a profile, or a
tool like aws-vault). Without any options it opens the AWS console in your default browser.
aws-browser [options]
To see all options run aws-browser --help.
Selecting a browser
Open the console in the default browser:
aws-browser
Open the console in a specific browser:
aws-browser --browser firefox
Print the sign-in link instead of opening a browser:
aws-browser --stdout
Using Firefox container tabs
This tool pairs very well with Firefox multi-account containers. To use that:
- Install the Firefox Multi-Account Containers and [Open external links in a container]https://addons.mozilla.org/en-US/firefox/addon/open-url-in-container/ extensions.
- Run one of the following commands.
# Use the account/role as the container name
aws-browser --browser firefox --container
# Pick the container yourself
aws-browser --browser firefox --container --container-name myProfileName
# get the container name from the AWS_VAULT environment variable
aws-browser --browser firefox --container --container-name-from-vault
Development
We use uv to manage this project.
- Clone this repository
- Run
uv syncto create the virtual environment and install all dependencies (including dev tools) - Run commands inside the environment with
uv run, e.g.uv run aws-browser --help
uv automatically creates the virtual environment in the .venv folder inside the project. To use it in your
editor (for example the "Python: Select interpreter" command in Visual Studio Code), point to .venv.
Linting and formatting
We use Ruff via pre-commit. Run all checks with:
uvx pre-commit run --all-files
Releasing a new version to PyPI
Releases are automated with release-please.
Commits on main must follow the Conventional Commits spec
(e.g. feat:, fix:, chore:), since release-please uses them to determine the next version and to
build the changelog.
release-please opens (and keeps updating) a release pull request that bumps the version in
pyproject.toml and updates the changelog. Merging that pull request tags the commit, creates the
GitHub release, and publishes the new version to PyPI automatically.
Publishing to PyPI uses trusted publishing (OIDC), so
no API token is stored in the repository. This requires a one-time setup on PyPI: add a trusted
publisher for the project pointing at this repository with workflow release-please.yaml.
Metadata
Release files for aws-browser 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aws_browser-0.3.0.tar.gz | 5.0 kB | Without provenance | Details for aws_browser-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_browser-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for aws_browser-0.3.0-py3-none-any.whl |
Total release size: 11.6 kB
Release files / aws_browser-0.3.0.tar.gz
| Download URL | aws_browser-0.3.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68cd0ec9a4288baa9597aff46e7a3a9f291d0dc879611700b37b78a9463e24c0
|
|
BLAKE2b-256 checksum How to use checksums |
e3e2dc83cd21f4dae9a8b51857f78b463c7e3c031f37e6525e6f68fb66d13773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aws_browser-0.3.0-py3-none-any.whl
| Download URL | aws_browser-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c1f1f22047663ac7e97ed1f094d0bf2bb0e802c1c2eac56b30ed865b3d5a2074
|
|
BLAKE2b-256 checksum How to use checksums |
1b308ce2cfad8b12a67374574285a7ecaacbb7cbd3f1e354638c8db2d44711a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for aws-browser 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.