A CLI tool for managing environment variables with encryption and role-based access control
Project description
EnvHub CLI
A command-line interface tool for managing environment variables with encryption and role-based access control.
Features
- Secure environment variable management
- Role-based access control (owner, user, admin)
- Project-based environment variable organization
- Encryption of sensitive data
- CLI interface with Typer for user-friendly interaction
Installation
- Clone the repository:
git clone https://github.com/Okaymisba/EnvHub-CLI.git
- Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate # On Unix/macOS
- Install dependencies:
pip install -r requirements.txt
Commands
Authentication
# Login to your account
envhub login
# Logout from your account
envhub logout
# Check current logged-in user
envhub whoami
Project Management
# Clone a project
envhub clone <project-name>
# Reset current folder
envhub reset
Environment Variables
# Add a new environment variable
envhub add
# Pull environment variables from remote
envhub pull
# List all environment variables
envhub list
# Execute command with decrypted environment
envhub decrypt [command]
Security Features
- All environment variables are encrypted
- Role-based access control for different levels of access
- Secure password management
- Project isolation for environment variables
Usage Examples
# Add a new environment variable
envhub add
# Execute a command with decrypted environment
envhub decrypt "python app.py"
# List all environment variables
envhub list
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
envhub_cli-0.1.0.tar.gz
(19.9 kB
view details)
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 envhub_cli-0.1.0.tar.gz.
File metadata
- Download URL: envhub_cli-0.1.0.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82259f4a1f796961ee5abd1a5bffb264dfd9e3a1e38516a760dba3a0b218b8e9
|
|
| MD5 |
2a75ea5f78591a6efb4472ef472cd3e1
|
|
| BLAKE2b-256 |
48e82b419c36a6a4803ce2904f906c3cd431f3531a847306b9956f5e94ee6753
|
File details
Details for the file envhub_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: envhub_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
015afebbd99197b9c29230b07cac9b0f9652c28198ba15a041322ad71ccfed06
|
|
| MD5 |
7789367e3aec1f123a0aa718cf2a91a6
|
|
| BLAKE2b-256 |
5ffac302aaccadae547c5d6000cc4962b68e0e189608c46b2ef2b2281e66d418
|