Secure .env vault with zero-knowledge encryption
Project description
HideHub CLI
Secure .env vault with zero-knowledge encryption. Never commit an API key again.
Manage your secrets from the command line — encrypt, upload, and inject them into any command. Your master password never leaves your device.
Features
- Zero-knowledge encryption — AES-256-GCM + PBKDF2 (600k iterations) + HKDF
- One-command push — encrypt and upload
.envfiles instantly - Selective injection — interactive picker to load only the secrets you need
- Secret rotation — version history built in
- Multiple auth methods — email/password, GitHub device flow, or API key
Installation
pip install hidehub-cli
Quick Start
1. Authenticate
# Interactive login (email + password)
hidehub init
# Login with GitHub device flow
hidehub init --github
# Login with an API key (for CI/CD)
hidehub init --api-key your-key-here
2. Push Secrets
# Encrypt and upload your .env file
hidehub push --env-file .env.production --project my-api
# Force overwrite existing secrets
hidehub push --env-file .env --project my-api --force
3. Use Secrets
# Interactive picker — select which secrets to load
hidehub use --project my-api
# Export to current shell
eval "$(hidehub use --project my-api --export)"
# Run a command with secrets injected
hidehub run --project my-api -- npm start
4. Manage
# View all projects
hidehub list
# View secrets in a project (key names only — values stay encrypted)
hidehub list --project my-api
# Rotate a secret (keeps version history)
hidehub rotate OPENAI_API_KEY --project my-api
How It Works
Your .env → Client-side AES-256-GCM encryption → Encrypted blob → HideHub server
↑
Master password (never sent)
- You set a master password (stored only in memory, never transmitted)
- Keys are derived with PBKDF2-SHA256 (600k iterations) + HKDF expansion
- Each secret is individually encrypted with AES-256-GCM + HMAC-SHA256 integrity check
- Encrypted blobs are uploaded — the server never sees plaintext
- On retrieval, your master password decrypts everything locally
CI/CD
# Set environment variables in your CI pipeline
export HIDEHUB_API_KEY=***
export HIDEHUB_MASTER_PASSWORD=your-master-password
# Push secrets during deployment
hidehub push --env-file .env --project production --force
# Run tests with secrets
hidehub run --project production -- pytest
Commands
| Command | Description |
|---|---|
hidehub init |
Authenticate with your HideHub account |
hidehub push |
Encrypt and push secrets to a project |
hidehub use |
Load secrets into your environment |
hidehub run |
Run a command with secrets injected |
hidehub list |
List projects or secrets |
hidehub rotate |
Rotate a secret's value |
🔒 hidehub.com — Free for 5 secrets. $5/mo for unlimited.
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 hidehub_cli-0.2.0.tar.gz.
File metadata
- Download URL: hidehub_cli-0.2.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d9273e03473a6cd8781e5cfe6eca2c1f6c94b3f0cec01a6eeb0453489b5ee58
|
|
| MD5 |
83a8d55e7f117f9d87563b1e94c124c1
|
|
| BLAKE2b-256 |
e4f983b736a4e7f80237aed2c166b5a067bce976705802be891e10ca43002773
|
File details
Details for the file hidehub_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hidehub_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf6fcdc219330c775553e27cedfffb603e5eb3da16d650c49de07bd9908955e0
|
|
| MD5 |
caa38b06e675130b4f5fb729280b2f72
|
|
| BLAKE2b-256 |
7c7af8028d127f06cf44656ddbf848a4d8d54911822ae92afcb1e87652c343aa
|