Skip to main content

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.

Release files for keecli 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keecli 0.2.2
File Size Uploaded
keecli-0.2.2.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keecli 0.2.2
File Interpreter ABI Platform
keecli-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.8 kB

Release files / keecli-0.2.2.tar.gz

Download URL keecli-0.2.2.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8e83a4d3136f8a32c2b74eb451b7d3d12c6cbe40cf833ecac2911106dd9b47f3
BLAKE2b-256 checksum
How to use checksums
f5dc00df02b8beaaabda871c2c218f8e53c4857a6fe4ae273e0fc5b29c8ea5c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / keecli-0.2.2-py3-none-any.whl

Download URL keecli-0.2.2-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b70e07ca2636ae904620fa810fb18ec0f13fa1e3d9fa6a5a2889183126da29f
BLAKE2b-256 checksum
How to use checksums
d86725445aced1a969d25a70f2527749ab419f7715eef792307d6c17b6415ab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page