The Enkryptify CLI (ek) provides commands to authenticate, configure, and run your applications with secrets injected as environment variables.

Usage

ek [command]

Global Flags

  • -h, --help: help for ek
  • -v, --version: get the current version of the CLI

Commands

Authenticate with Enkryptify to access your secrets.This opens a web browser to complete the OAuth flow. After successful authentication, credentials are stored securely in your system keyring.
ek login

# Force re-authentication even if already logged in
ek login --force
Run a command with secrets from Enkryptify injected as environment variables.This fetches secrets for your configured workspace, project, and environment, then executes the provided command with those secrets available as env vars.Note: Use -- to separate ek run from the command you want to execute.
ek run -- <command>
Examples:
ek run -- npm start         # Run npm start with secrets
ek run -- pnpm run dev      # Run pnpm dev with secrets
ek run -- python app.py     # Run Python app with secrets
ek run -- docker-compose up # Run docker-compose with secrets
Link the current git repository to an Enkryptify workspace, project, and environment.The configuration is saved to ~/.enkryptify/config.json and associated with the current directory path.
ek setup