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

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.2
File Size Uploaded Provenance Actions
criptenv-0.2.2.tar.gz 67.4 kB With provenance Details for criptenv-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 132.6 kB

Release files / criptenv-0.2.2.tar.gz

Download URL criptenv-0.2.2.tar.gz
Size 67.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c539087d910e7a9ec2013c9a75c53ed36987620ef4675af2451f099b9cd9cb6
BLAKE2b-256 checksum
How to use checksums
f6911380ad5c01f8f833698ee7bb89205fc117c01980f5bc60e4b6c7ccf107f9
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 Oct 26, 2026.

Transparency log

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

Download URL criptenv-0.2.2-py3-none-any.whl
Size 65.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c740f7da18d24d99932466b8defbe1d2184017e1a92759ae518c176a942ce9ec
BLAKE2b-256 checksum
How to use checksums
20a97e7c5c9219687ae1051eae95ce604294a4bcfb6de848f44074ccec00db51
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 Oct 26, 2026.

Transparency log

Security for criptenv 0.2.2

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.

Select from 2 files

Attestation for criptenv-0.2.2.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 Oct 26, 2026.

Transparency log

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