Skip to main content

awsswitch - AWS profile switcher

Easily switch between AWS Profiles.

PyPi PyPi

Credits

This is a pure python implementation of Johnny Opao's tool awsp.

Prerequisites

Setup your profiles using the aws cli.

aws configure --profile PROFILE_NAME

You can also leave out the --profile PROFILE_NAME param to set your default credentials.

Refer to this document for more information https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

Setup

Install with pip

python -m pip install awsswitch

Install with pipx (recommended)

pipx install awsswitch

Shell configuration

Add the following to your .bashrc or .zshrc config:

alias awsp='awsswitch; sp="$(cat ~/.awsswitch)"; if [ -z "$sp" ]; then unset AWS_PROFILE; else export AWS_PROFILE="$sp";fi'

Usage

awsp

Metadata

Release files for awsswitch 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awsswitch 0.2.2
File Size Uploaded Provenance
awsswitch-0.2.2.tar.gz 169.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for awsswitch 0.2.2
File Interpreter ABI Platform
awsswitch-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 173.5 kB

Release files / awsswitch-0.2.2.tar.gz

Download URL awsswitch-0.2.2.tar.gz
Size 169.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0229568e576f86eca20f6e5e507ab264e50cde3af3766d1a54016d8c9129923f
BLAKE2b-256 checksum
How to use checksums
dfe4ec5a020832c51ef572e5aefe94e9d71923874ea434fb4301d687527ab241
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Release files / awsswitch-0.2.2-py3-none-any.whl

Download URL awsswitch-0.2.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5f4395443901900c8494a6e329f564fe85a978e119215e04e68e7203768cfbf
BLAKE2b-256 checksum
How to use checksums
adf670868246a43e12508153ce199b048b8b432da18d9a928282f0642a4bdd24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.27.1

Security for awsswitch 0.2.2

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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page