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
- Running Commands - Execute commands with secrets as environment variables
- Password Generation - Generate secure random passwords
Reference
For complete command documentation, see the CLI Commands Reference.