Getting Started: For General Users
This guide is for users who want a simple, secure way to manage passwords, API keys, and other secrets using the Desktop App or basic CLI commands.
What You'll Learn
- Install and set up the Desktop App
- Create your secure vault
- Add, view, and manage your secrets
- Keep your credentials organized and safe
Why secretctl?
- Completely Local: Your secrets never leave your computer
- No Account Required: No sign-up, no cloud sync, no subscription
- Strong Encryption: Military-grade AES-256 encryption
- Simple Interface: Easy-to-use desktop application
Option 1: Desktop App (Recommended)
Build from Source
The desktop app is currently available by building from source. Pre-built binaries will be available in future releases.
Requirements:
Build Steps:
# Clone the repository
git clone https://github.com/forest6511/secretctl.git
cd secretctl/desktop
# Build the app
wails build
The compiled app will be in desktop/build/bin/.
Step 3: Create Your Vault
- Open the secretctl app
- Click "Create New Vault"
- Enter a strong master password
- Confirm your password
- Click "Create"
- Minimum 8 characters required, 12+ recommended
- Mix letters, numbers, and symbols
- Consider using a passphrase like "correct-horse-battery-staple"
- Write it down and store it safely - there's no recovery if you forget it!
Step 4: Add Your First Secret
- Click the "+" button or "Add Secret"
- Enter a name (e.g., "Gmail Password" or "OPENAI_API_KEY")
- Enter the secret value
- Optionally add:
- Notes: Additional information
- URL: Related website
- Tags: Categories like "email", "work", "api"
- Click "Save"
Step 5: View and Use Secrets
- View: Click on any secret to see details
- Copy: Click the copy icon to copy to clipboard (auto-clears after 30 seconds)
- Search: Use the search bar to find secrets quickly
- Filter: Filter by tags or date
Step 6: Stay Secure
- The app auto-locks after 15 minutes of inactivity
- Lock manually: Click the lock icon or use
Cmd+L(Mac) /Ctrl+L(Windows) - Always lock before leaving your computer
Option 2: Command Line (CLI)
If you prefer using the terminal:
Install
macOS (Apple Silicon):
curl -LO https://github.com/forest6511/secretctl/releases/latest/download/secretctl-darwin-arm64
chmod +x secretctl-darwin-arm64
sudo mv secretctl-darwin-arm64 /usr/local/bin/secretctl
macOS (Intel):
curl -LO https://github.com/forest6511/secretctl/releases/latest/download/secretctl-darwin-amd64
chmod +x secretctl-darwin-amd64
sudo mv secretctl-darwin-amd64 /usr/local/bin/secretctl
Linux:
curl -LO https://github.com/forest6511/secretctl/releases/latest/download/secretctl-linux-amd64
chmod +x secretctl-linux-amd64
sudo mv secretctl-linux-amd64 /usr/local/bin/secretctl
Windows: Download secretctl-windows-amd64.exe from GitHub Releases.
Basic Commands
# Create your vault
secretctl init
# Add a secret
echo "my-password-123" | secretctl set "Gmail Password"
# View a secret
secretctl get "Gmail Password"
# List all secrets
secretctl list
# Delete a secret
secretctl delete "Gmail Password"
Organizing Your Secrets
Use Key Prefixes
Organize secrets by category using prefixes:
email/gmail
email/outlook
social/twitter
social/facebook
work/github
work/aws_key
banking/chase
Use Tags
Add tags when creating secrets:
- Desktop: Enter tags in the Tags field
- CLI:
echo "value" | secretctl set KEY --tags "work,api,important"
Add Notes and URLs
Keep track of where each secret is used:
- Desktop: Fill in the Notes and URL fields
- CLI:
echo "value" | secretctl set KEY --notes "Main account" --url "https://example.com"
Backup Your Secrets
Create a Backup
Desktop: Menu → File → Backup Vault
CLI:
secretctl backup -o ~/Desktop/my-secrets-backup.enc
The backup is encrypted with your master password.
Restore from Backup
Desktop: Menu → File → Restore from Backup
CLI:
secretctl restore ~/Desktop/my-secrets-backup.enc
Keyboard Shortcuts (Desktop App)
| Action | macOS | Windows/Linux |
|---|---|---|
| Lock vault | Cmd+L | Ctrl+L |
| New secret | Cmd+N | Ctrl+N |
| Search | Cmd+F | Ctrl+F |
| Copy value | Cmd+C | Ctrl+C |
| Quit | Cmd+Q | Ctrl+Q |
Frequently Asked Questions
What if I forget my master password?
Unfortunately, there's no recovery option. The master password is the only way to decrypt your secrets. We recommend:
- Writing it down and storing it in a safe place
- Using a memorable passphrase
Are my secrets synced to the cloud?
No. secretctl is completely local. Your secrets are stored only on your computer in an encrypted file.
Can I use it on multiple computers?
Yes, but you'll need to manually transfer your vault:
- Create a backup on Computer A
- Copy the backup file to Computer B
- Restore the backup on Computer B
Is it safe?
Yes. secretctl uses:
- AES-256-GCM encryption (same as banks and governments)
- Argon2id key derivation (protects against password cracking)
- Local-only storage (no network exposure)
Next Steps
- Desktop App Guide - Complete desktop app documentation
- CLI Guide - Learn more CLI commands
- Security Overview - Understand how your data is protected
- FAQ - More frequently asked questions