An encrypted environment variable manager for developers and teams.
Project description
NexVault
NexVault is a secure command-line tool for storing, managing, importing, exporting, and injecting environment variables using password-based encryption.
Instead of storing secrets in plaintext .env files, NexVault keeps them inside an encrypted vault protected by your password. Export them only when needed or inject them directly into your application at runtime.
Features
- Password-protected encrypted vault
- Securely store and retrieve environment variables
- Store multiple key-value pairs in a single command
- List all stored keys
- Run applications with injected environment variables
- Export secrets to a
.envfile - Import existing
.envfiles into the vault - Export and import portable
.nexvaultbackup files - Copy secret values or
.envcontent directly to the clipboard - Built with modern cryptography
Installation
pip install nexvault
Quick Start
Initialize a vault
nexvault init
Store a secret
nexvault set API_KEY your-secret
Store multiple secrets
nexvault setmul \
API_KEY=your-secret \
DATABASE_URL=postgres://localhost/db \
DEBUG=true
Retrieve a secret
nexvault get API_KEY
Copy a secret to the clipboard
nexvault get API_KEY --copy
List all stored keys
nexvault list
Run an application with injected environment variables
nexvault run python main.py
You can run any executable or command through NexVault, and all stored environment variables will be securely injected into the child process.
Examples:
nexvault run node app.js
nexvault run npm start
nexvault run cargo run
Export to a .env file
nexvault toenv
Copy .env content to the clipboard
nexvault toenv --copy
Import an existing .env file
nexvault fromenv
Export the encrypted vault
nexvault export
This creates a portable .nexvault backup that can be shared or archived.
Import a .nexvault backup
nexvault importfile backup.nexvault
Security
NexVault derives encryption keys from your password and uses authenticated encryption to protect all stored secrets.
Environment variables remain encrypted at rest and are only decrypted when explicitly requested or temporarily injected into a child process with the run command.
License
Licensed under the Apache License 2.0.
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
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 nexvault-1.1.0.tar.gz.
File metadata
- Download URL: nexvault-1.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2044db5285cd2932e806149ccf98536d4e69e77c5ee037c8ea00460200d48e52
|
|
| MD5 |
ae40583bd91e6e8f23308edb9325ba1b
|
|
| BLAKE2b-256 |
d4a0dfa2e9f0f37374c043a59216071c4fedf7ea8546a0022b6cbe3f24f66e0b
|
File details
Details for the file nexvault-1.1.0-py3-none-any.whl.
File metadata
- Download URL: nexvault-1.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35c864a90aa8148fe03c6d285fe18f5b20b278f850e5831cc6a898f728b2ec41
|
|
| MD5 |
7c80ed9b47efc6705c13173a00e09539
|
|
| BLAKE2b-256 |
6022d6bd630c45e1f95ea35e7d2356b86008cfa1650833c3016d6a17753d4c04
|