Skip to main content

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

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

klavex-0.1.1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

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

klavex-0.1.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file klavex-0.1.1.tar.gz.

File metadata

  • Download URL: klavex-0.1.1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for klavex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e313f7fb75026f491625a076986438608678786394cc8144b4202e2cd9892516
MD5 75c7f0ac38015d62dd0c9538b0a401b5
BLAKE2b-256 d8a30864dda49ba3ea106742f406bec18d4c30d19c2f5a36d8df92f99d36fec8

See more details on using hashes here.

File details

Details for the file klavex-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: klavex-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for klavex-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d21df2a7e7a34307af87ae1850faa4a5779620e374b182681c4423034a0789e
MD5 e03f3bb6cc72f5c759bd96c733c0c73d
BLAKE2b-256 d4df664c82dbc6fadbb657e6e6a34815896e04cd1fbac8b6a391bdb31799aa7e

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