Klavex CLI — pull environment variables into a process without writing secrets to disk.
Project description
klavex
CLI for Klavex. Pulls environment variables from your team's vault and injects them into a child process — secrets never touch disk.
pip install klavex
klavex login
klavex run -- npm start
See IMPLEMENTATION.md for the design.
Commands
| Command | Status |
|---|---|
klavex login |
v0.1 |
klavex logout |
v0.1 |
klavex whoami |
v0.1 |
klavex status |
v0.1 |
klavex projects |
v0.2 |
klavex envs <project> |
v0.2 |
klavex vars -e <env> |
v0.2 |
klavex run -e <env> -- <cmd> |
v0.3 (blocked on backend reveal endpoint) |
klavex export -e <env> |
v0.4 |
klavex use -p <project> -e <env> |
v0.4 |
Development
pip install -e ".[dev]"
klavex --version
pytest
ruff check .
mypy
Override the API URL for staging or local:
export KLAVEX_API_URL=http://localhost:8000
Agents & CI (non-interactive auth)
For an agent seat (minted in the dashboard) or a CI runner, there's no browser
for klavex login. Pass the token via the environment instead — it takes
precedence over the keychain and needs no OS keychain at all:
export KLAVEX_TOKEN=kx_agent_... # the token shown once when you mint the seat
klavex run -e env_xxx -- npm test # scoped to exactly the envs you granted
Use environment IDs (env_xxx) or a committed .klavex pin for agents —
name lookups hit team-level endpoints that scoped agent tokens can't read.
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 klavex-0.1.3.tar.gz.
File metadata
- Download URL: klavex-0.1.3.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
847d4a64c75fe8b75e22610aae8f6d32f7dad2ea9643a1205e719075c1a8e7a9
|
|
| MD5 |
4f2e60531ea0fee73fad8e0070dc15dc
|
|
| BLAKE2b-256 |
8dc87d580a4f5e6ba26edd74264ec6ddb19ec2c3b3c352b8fead9b9ca72318da
|
File details
Details for the file klavex-0.1.3-py3-none-any.whl.
File metadata
- Download URL: klavex-0.1.3-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ba42b13087ded9330420d4d013c805ec110f63745420df8f077f48cf829b7e
|
|
| MD5 |
4bd7d1af8f342380bc480014c646554c
|
|
| BLAKE2b-256 |
08385b91ee6b7957e122acde628cd9dcd955f2164f29e2da267550d8b38d6530
|