A CLI tool to switch between Git and AWS credentials
Project description
🔐 cred-switcher
A simple CLI tool to quickly switch between different Git identities and AWS credentials.
Perfect for developers juggling multiple projects, clients, or AWS environments.
🚀 Features
- ✅ Switch global Git user name and email
- ✅ Update AWS credentials (
~/.aws/credentialsand~/.aws/config) - ✅ Manage multiple profiles in one config
- ✅ Interactive prompts for adding profiles
- ✅ Secure input for AWS secrets (nothing printed to screen)
📦 Installation
Install globally via PyPI:
pip install cred-switcher
🔁 Recommended for devs: use a virtual environment
python3 -m venv venv
source venv/bin/activate
pip install cred-switcher
Then run it:
cred-switcher
🧹 Uninstallation
To remove it:
pip uninstall cred-switcher
If you used a virtual environment:
deactivate
rm -rf venv/
🛠️ Usage
cred-switcher add <profile> # Add a new profile
cred-switcher set <profile> # Switch to a saved profile
cred-switcher list # List all saved profiles
cred-switcher show # Show current Git and AWS identity
🖼️ Demo
Here's how cred-switcher looks in action:
📜 License
MIT © Karizmattic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cred_switcher-0.2.1.tar.gz.
File metadata
- Download URL: cred_switcher-0.2.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1596a56ce27608a4931d7fe0d64400a82f1ccd31ba975bc1c6157d28363cfc2
|
|
| MD5 |
340a86078b246313c0a98e53766ed493
|
|
| BLAKE2b-256 |
69181908cbc21170ed7516d67dccf6cb48dfa75526ed95f9e9fdc5be5d7c322a
|
File details
Details for the file cred_switcher-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cred_switcher-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca979d5c5b1362447c25fe0faa98de95a0aa3e62117b50c6477da34584f95d5
|
|
| MD5 |
ac8d786eccc00f5b5319143561055feb
|
|
| BLAKE2b-256 |
f010e3d796f6e2cd49ea40f18a037c02f3d55c1ef2fa85aa59c3c6ef7ca797ef
|