Getting Started
Quick Start Tutorial
Create Your First Encrypted Vault
Follow this tutorial to save your first encrypted CLI command recipe.
1. Initialize Vault:
Run the setup command to configure your master credentials and directory paths:
$ cmdvault init
Save an Environment Variable Placeholder
Add a deployment recipe containing the secret {{DATABASE_PASSWORD}}:
$ cmdvault add --name "database-backup" --secure --command "pg_dump -U postgres -h localhost -W {{DATABASE_PASSWORD}} prod_db > backup.sql"Execute the Encrypted Recipe
Run the backup task. CmdVault will prompt you securely for the password and execute the underlying command instantly:
$ cmdvault run database-backup