keepass_cli

A cli interface to keepass/libkeepass


License
Other
Install
pip install keepass_cli==0.1.2

Documentation

keepass-cli

Cli interface for keepass writing in python and based on libkeepas.

The following commands are available (the password can always aso be passed through the KEEPASS_PASSWORD environment variable):

  • show-entry -f <filename> -p <password> -e <path-to-entry> -n <field-to-retrieve> Return the given field from the given entry. If no field is given, it defaults to "Password"

  • list-entries: -f <filename> -p <password> -e <path-to-group> List all entries in the given group

  • to-json: -f <filename> -p <password> -e <path-to-group> -n <field-names> Prints an json object with everything found below the given group. Only the fields in <field-names> (which is a comma sperated list) are included.