Skip to main content

KeeCLI is a cli to the password manager KeePass

Project description

GitHub release (with filter) GitHub Workflow Status (with event)

KeeCLI

KeeCLI is a command line interface to interact with KeePass databases. It takes a lot of inspiration from pass, so if you used it in the past you will find a lot of similarities with KeeCLI.

Installation

Using pip:

pip install keecli

From source:

git clone https://github.com/leoperard/keecli
cd keecli
pip install poetry # if not already present
poetry install

Configuration

KeeCLI expects 2 environment variables for the database file and the password associated.

export KEECLI_DB="/path/to/my/db.kdbx"
export KEECLI_PASSWORD="higly-secured-password"

Note that KeeCLI does not store your password. It only read it from the environment variable to open the database.

Commands

Get an entry

Get all the details of an entry in json format. If multiple entries are found, the result will be a list of entries. You can reduce the scope of the search by specifying a group. All names are fuzzy matched. By default, the password will be displayed with * characters, you can use the --password option to print it in plain text.

keecli get --help
Usage: keecli get [OPTIONS] NAME

  Get details for an entry.

Options:
  -g, --group TEXT            The group where to look for the entry.
  --password / --no-password  Show the password in plain text (default:
                              false).
  --help                      Show this message and exit.

Project details


Download files

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

Source Distribution

keecli-0.2.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

keecli-0.2.2-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file keecli-0.2.2.tar.gz.

File metadata

  • Download URL: keecli-0.2.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for keecli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8e83a4d3136f8a32c2b74eb451b7d3d12c6cbe40cf833ecac2911106dd9b47f3
MD5 dc195fd4e33bce4818a6d9f9f8bac3a7
BLAKE2b-256 f5dc00df02b8beaaabda871c2c218f8e53c4857a6fe4ae273e0fc5b29c8ea5c3

See more details on using hashes here.

File details

Details for the file keecli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: keecli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for keecli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b70e07ca2636ae904620fa810fb18ec0f13fa1e3d9fa6a5a2889183126da29f
MD5 5b02c61af7a51ecd31792390c1a53761
BLAKE2b-256 d86725445aced1a969d25a70f2527749ab419f7715eef792307d6c17b6415ab1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page