CriptEnv CLI
Zero-Knowledge secret management for developers and teams.
CriptEnv CLI is the command-line interface for the CriptEnv platform — an open-source alternative to Doppler and Infisical. Manage environment variables, API keys, and sensitive credentials with client-side AES-256-GCM encryption. Your secrets never reach our servers in plaintext.
Features
- Zero-Knowledge Encryption — Secrets are encrypted 100% client-side with AES-256-GCM before leaving your machine.
- Remote Terminal — Commands operate directly on the encrypted project vault in CriptEnv Cloud.
- Lightweight Local Metadata —
~/.criptenv/stores session/config metadata, not a local secrets vault. - Team Sync — Everyone reads and writes the same remote encrypted vault.
- Secret Rotation — Built-in commands to rotate and expire secrets.
- CI/CD Friendly — Native support for CI tokens, GitHub Actions, and cloud integrations.
- Cloud Integrations — Sync secrets with Vercel and Render.
Installation
pip install criptenv
Requires Python 3.10+.
Single binary (no Python)
Linux x86_64 (glibc) builds are attached to each GitHub Release:
curl -fsSLo criptenv https://github.com/77mdias/criptenv/releases/latest/download/criptenv-linux-x86_64
chmod +x criptenv && sudo mv criptenv /usr/local/bin/
In Docker, copy it from the official image instead of installing Python (Debian/Ubuntu/node:*-slim bases; not Alpine):
COPY --from=ghcr.io/77mdias/criptenv-cli:latest /usr/local/bin/criptenv /usr/local/bin/criptenv
Containers and CI
CRIPTENV_API_KEYauthenticates any command directly; no session is written to disk.CRIPTENV_VAULT_PASSWORDunlocks the vault. Without it and without a TTY, commands fail instead of waiting for a prompt.criptenv run -- <cmd>replaces itself with<cmd>(signals reach your app) and strips CriptEnv's own credentials from its environment.
Quick Start
# Log in to your CriptEnv account
criptenv login --email user@example.com
# Set a secret in the remote project vault
criptenv set DATABASE_URL=postgres://localhost/mydb
# List all secrets (names only — values never exposed)
criptenv list
# Get decrypted value
criptenv get DATABASE_URL
# Export latest remote secrets to a file
criptenv pull -p <project-id> --output .env.production
# Import a local .env file into the remote vault
criptenv push .env.production -p <project-id>
Commands
Core Commands
| Command | Description |
|---|---|
init |
Prepare local CLI metadata and configuration |
login |
Authenticate with your CriptEnv account |
logout |
Clear local session |
set <key>=<value> |
Encrypt and store a secret in the remote vault |
get <key> |
Retrieve and decrypt a remote secret in memory |
list |
List remote secret keys (names only) |
delete <key> |
Remove a secret from the remote vault |
Sync & Projects
| Command | Description |
|---|---|
push <file> -p <project-id> |
Import .env secrets into the remote vault |
pull -p <project-id> -o <file> |
Export remote secrets to a file |
projects |
List projects |
projects create |
Create a new cloud project |
env |
Manage project environments |
Import / Export
| Command | Description |
|---|---|
import <file> |
Import secrets from .env file into the remote vault |
export -o <file> |
Export remote secrets to .env or JSON |
Secret Management
| Command | Description |
|---|---|
rotate <key> |
Rotate a secret value |
secrets expire <key> |
Set secret expiration |
secrets alert <key> |
Configure alert timing |
rotation list |
List secrets pending rotation |
CI / CD
| Command | Description |
|---|---|
ci login |
Login with CI token |
ci logout |
Clear CI session |
ci secrets |
List secrets in CI context |
ci deploy --file <file> |
Import a file into the remote vault in CI context |
ci tokens list |
List CI tokens |
ci tokens create |
Create CI token |
ci tokens revoke |
Revoke CI token |
Integrations
| Command | Description |
|---|---|
integrations list |
List cloud integrations |
integrations connect |
Connect a provider (vercel, render) |
integrations disconnect |
Disconnect a provider |
integrations sync |
Sync secrets with provider |
Utilities
| Command | Description |
|---|---|
doctor |
Check CLI health and connectivity |
Security
Secrets are encrypted using a key derived from the project Vault password via PBKDF2-HMAC-SHA256 (100,000 iterations) and HKDF-SHA256. The CLI prompts for that password only when a command must decrypt or mutate secrets, or reads it from CRIPTENV_VAULT_PASSWORD for automation. The server only stores opaque encrypted blobs — it has no ability to decrypt your data.
Development
cd apps/cli
pip install -e ".[dev]"
python -m pytest tests -q
178 tests passing.
License
MIT License — see LICENSE for details.
Made with ❤️ by Jean Carlos Moreira Dias
Metadata
Release files for criptenv 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| criptenv-0.2.3.tar.gz | 71.1 kB | With provenance | Details for criptenv-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| criptenv-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for criptenv-0.2.3-py3-none-any.whl |
Total release size: 137.9 kB
Release files / criptenv-0.2.3.tar.gz
| Download URL | criptenv-0.2.3.tar.gz |
|---|---|
| Size | 71.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
630dac9ad0f620c1c4e6c41b00bcebfcdb7cbc6270e3abebe9d20fa857cd49d1
|
|
BLAKE2b-256 checksum How to use checksums |
6b2fe8bf993e49b38a064c942de241a7c0ab733d131456d71d962c10139b2477
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / criptenv-0.2.3-py3-none-any.whl
| Download URL | criptenv-0.2.3-py3-none-any.whl |
|---|---|
| Size | 66.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
203f95070fb9c474a7db65fbcf266bdba5d696501c070c0d2d5422871692da00
|
|
BLAKE2b-256 checksum How to use checksums |
72702ce0fb16c1695b3ae9b94c48ddcf7e71bfee0da1866b5e8cb1f2ed9aca08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for criptenv 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for criptenv-0.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.