Skip to main content

Overview

The zopp CLI is the primary interface for managing secrets. All encryption happens client-side, so your plaintext secrets never leave your machine.

Global Options​

These options are available for all commands:

OptionEnvironment VariableDescription
--server <URL>ZOPP_SERVERServer address (default: http://127.0.0.1:50051)
--tls-ca-cert <PATH>ZOPP_TLS_CA_CERTPath to CA certificate for TLS
-h, --helpShow help for any command

Commands​

Getting Started​

CommandDescription
joinRegister with a server or accept a workspace invite
runRun a command with secrets injected as environment variables

Resource Management​

CommandDescription
workspaceCreate and list workspaces
projectManage projects within a workspace
environmentManage environments within a project
secretStore, retrieve, and manage encrypted secrets

Access Control​

CommandDescription
principalManage device identities and service principals
permissionManage RBAC permissions
groupManage user groups
inviteCreate and manage workspace invitations

Operations​

CommandDescription
syncSync secrets to external systems (Kubernetes)
diffCompare secrets with external systems
auditView audit logs (admin only)

Configuration File​

Create a zopp.toml in your project directory to set defaults:

[defaults]
workspace = "mycompany"
project = "api"
environment = "development"

With this configuration, you can omit the -w, -p, -e flags:

# These are equivalent:
zopp secret get API_KEY -w mycompany -p api -e development
zopp secret get API_KEY

See Configuration Reference for all options.

Quick Examples​

# Join a server
zopp join inv_abc123... you@example.com

# Create resources
zopp workspace create mycompany
zopp project create -w mycompany backend
zopp environment create -w mycompany -p backend development

# Manage secrets
zopp secret set DATABASE_URL "postgresql://..."
zopp secret get DATABASE_URL
zopp secret list

# Run with secrets
zopp run -- npm start

# Export/import
zopp secret export -o .env
zopp secret import -i .env

# Team collaboration
zopp invite create -w mycompany
zopp permission user-set -w mycompany --email teammate@example.com -r write