Skip to main content

CLI Guide

Learn to use secretctl from the command line.

Quick Reference

# Initialize vault
secretctl init

# Manage secrets
echo "value" | secretctl set KEY
secretctl get KEY
secretctl list
secretctl delete KEY

# Run commands with secrets
secretctl run -k KEY -- your-command

# Export secrets
secretctl export -o .env

# Generate passwords
secretctl generate

Guides

Reference

For complete command documentation, see the CLI Commands Reference.