Skip to main content

CLI Reference

The shield CLI provides a unified interface for cross-provider secret management and leak protection.

Commands

CommandDescription
secrets initInitialize native encrypted storage
runRun commands with protection
secretsManage cross-provider secrets
ciRun local CI (GitHub Actions)
authAuthenticate with Dotset Cloud

Global Options

dotset --version    # Show version
dotset --help       # Show help

Quick Examples

# Zero-setup protection
dotset run -- npm start

# Mix and match providers
dotset run --providers dotenv,aws-sm -- node server.js

# Initialize native storage
dotset secrets init

# Set a native secret
dotset secrets set API_KEY "sk-..."

# Run with redaction
dotset run --mode redact -- npm start