Skip to main content

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+.

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for criptenv 0.2.0
File Size Uploaded Provenance Actions
criptenv-0.2.0.tar.gz 66.2 kB Without provenance Details for criptenv-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for criptenv 0.2.0
File Interpreter ABI Platform Actions
criptenv-0.2.0-py3-none-any.whl Python 3 none any Details for criptenv-0.2.0-py3-none-any.whl

Total release size: 130.9 kB

Release files / criptenv-0.2.0.tar.gz

Download URL criptenv-0.2.0.tar.gz
Size 66.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a247c3fec3595a19dc2cc4008a48833a96f3961ff4cee550ad08106b55e294bd
BLAKE2b-256 checksum
How to use checksums
424307b4601711c84f59f7b598042888f7cb166aa25f03f9c52c0990a32275a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / criptenv-0.2.0-py3-none-any.whl

Download URL criptenv-0.2.0-py3-none-any.whl
Size 64.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d9258b197f85f600349868973721a807cc3e762e62df9abeefe9ea0571395da
BLAKE2b-256 checksum
How to use checksums
9bbabecea70ec00abdb79416f2b1759903902f805fd4f5a6179dd33e4c2b3d1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for criptenv 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page