Skip to main content

No project description provided

Project description

🔐 cred-switcher

PyPI version

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/credentials and ~/.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:

cred-switcher demo


📜 License

MIT © Karizmattic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cred_switcher-0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cred_switcher-0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file cred_switcher-0.2.tar.gz.

File metadata

  • Download URL: cred_switcher-0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for cred_switcher-0.2.tar.gz
Algorithm Hash digest
SHA256 e177c6022170f1e9cf191d8343d2413a1fc3c05ea066629886ce55f875a367d2
MD5 ebf2c9b2859554363881d7b3a9289fe7
BLAKE2b-256 03c80317c351944ee7f900fc302c1e09af754374519a694a27104d08228b84d4

See more details on using hashes here.

File details

Details for the file cred_switcher-0.2-py3-none-any.whl.

File metadata

  • Download URL: cred_switcher-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for cred_switcher-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4822101ac22cd028c38709bbf427d3741054fe26fa7a5689ba42721a16896e52
MD5 9a290fb5bfa29a8e9c8bdcb178e75faf
BLAKE2b-256 045d70457920775ac069a7c1f49044c8d19cda8544f20c539f52e8a6cb9a20d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page