v1.4.2 — Now Available on PyPI

Secrets. Local. Encrypted.

pacli is a secure, local-first CLI secrets manager. Store passwords, API keys & SSH credentials with AES encryption — zero cloud, zero trust required.

pip install pacli-tool View on GitHub
zsh — 80×24
$pacli init
✓ pacli initialized. Master password set.
$pacli add --token openai-key
🔑 Enter value: ••••••••••••••••••••
✓ Secret "openai-key" saved securely.
$pacli get openai-key --clip
✓ Copied to clipboard.
$
0
Cloud dependencies
14+
CLI Commands
MIT
License
3+
Secret Types

Everything lives
on your machine.

🔒
AES Encryption

All secrets are encrypted at rest with AES and protected by a master password. Your data never leaves your device.

🖥️
Web UI Included

Launch a local web interface with pacli web for a visual way to manage your secrets without leaving the terminal.

📋
Clipboard Integration

Retrieve any secret directly to your clipboard with --clip. Pipe any command output with pacli cc.

🔑
SSH Management

Store SSH connections with host, user, and key file. Connect instantly with pacli ssh <label>.

📤
Export to JSON / CSV

Export your secrets vault to JSON or CSV for backup or migration. Full control over your data.

🔗
URL Shortener

Shorten URLs via LinklyHQ directly from the CLI. Copy shortened links to clipboard with one flag.

Commands at a glance.

init Initialize and set master password
add Add a secret with a label
get Retrieve a secret by label
list List all saved secrets
update Update a secret by label
delete Delete a secret by label
ssh Connect via saved SSH credentials
export Export vault to JSON or CSV
web Launch the Web UI
$ pacli init

# First-time setup
Enter master password: ••••••••
Confirm master password: ••••••••

✓ pacli initialized successfully.
✓ Master password set. Run `pacli add` to get started.

A visual interface.
Still local.

Run pacli web to launch a full-featured web dashboard. Manage all your secrets visually without giving up local-first security.

  • Master password authentication
  • View, add, edit and delete secrets
  • Search and filter by secret type
  • Toggle secret visibility
  • Copy to clipboard
  • Responsive desktop & mobile design
  • Run in background with pacli web start
localhost:58317 — pacli
🔐 My Secrets
github-token TOKEN
prod-db-pass PASSWORD
ec2-production SSH
stripe-api-key TOKEN
admin-panel PASSWORD

One command away.

Supports Python 3.8+. Tested on Linux, macOS, and Windows.

# Install pipx (if needed)
pip install pipx
pipx ensurepath

# Install pacli
pipx install pacli-tool

# Verify
pacli --help
pip install pacli-tool

# Then initialize
pacli init
git clone https://github.com/imshakil/pacli.git
cd pacli
pip install -e .

pacli init

Your secrets,
your machine.

No subscriptions. No cloud sync. No telemetry. Just encrypted secrets on your local machine.