Skip to main content

A simple commandline password vault written in python.

Project description


A simple command line password vault written in python.


This tool was developed as a personal experiment to try out cryptography in python and also to develop a handy tool that can act as a secure command line password vault.


pip install pypassvault


Once you install the package, you will can use passvault utility from command line to use this tool.

  • Help
> passvault -h
Usage: passvault [--core-opts] <subcommand> [--subcommand-opts] ...

Core options:

  --complete                     Print tab-completion candidates for given parse remainder.
  --hide=STRING                  Set default value of run()'s 'hide' kwarg.
  --write-pyc                    Enable creation of .pyc files.
  -d, --debug                    Enable debug output.
  -e, --echo                     Echo executed commands before running.
  -f STRING, --config=STRING     Runtime configuration file to use.
  -h [STRING], --help[=STRING]   Show core or per-task help and exit.
  -l, --list                     List available tasks.
  -p, --pty                      Use a pty when executing shell commands.
  -V, --version                  Show version and exit.
  -w, --warn-only                Warn, instead of failing, when shell commands fail.


  configure   Set the configuration
  get         Get password for a username and application (optional)
  list        List all applications and users for which password is set
  setpasswd   Set password for a username and application (optional)

If you need help on any sub command you can type passvalut -h <subcommand> to see the specific help for it.


> passvault -h configure
Usage: passvault [--core-opts] configure [--options] [other tasks here ...]

  Set the configuration

  -c STRING, --confdir=STRING
  • Set a password
passvault setpasswd -a appname -u username
Enter vault password:
Set an app password for username:

When you run passvault for the first time you will be asked to set up a vault password. Please note that Vault password is the single password that you will need for all future operations.

Please do not forget your vault password as if you forget it then the vault will not be recoverable.

  • Get the password details
> passvault get -a appname -u username
Enter vault password:
  • List Applications and Usernames present under passvault
> passvault list -a appname
Enter valult password:
Users for application appname are:

To list all applications & Usernames

> passvault list
  • To check pypassvault version
passvault -V or passvault --version


  • Refactoring of existing APIs
  • Functionality of deleting records by appname or user - Completed
  • Generate password feature
  • Import and Export of Data
  • Better Documentation
  • Providing an API interface for passvault
  • Improvement in Encryption & Portability of Password Vault
  • Support for Clipboard
  • Testing

Better to have features:

  • Password expiration notification/reminder
  • UI for pypassvault
  • Cloud Backup & Sync of Vault File



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pypassvault, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pypassvault-0.1.4.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page