Skip to main content

A pass-like CLI for KeePass KDBX databases

Project description

kpass

kpass is a CLI for KeePass KDBX databases, similar to pass.

It uses pykeepass under the hood.

Usage

kpass [options] [path | command]

Commands

  • kpass — list the database tree
  • kpass <group/subgroup> — list a subtree
  • kpass <record> — show the main fields for a record
  • kpass show <record> — show a record; use -u, -p, -e, -l, -n, or -o for one field
  • kpass find <terms...> — search by name or path
  • kpass insert <path> ... — add or update a record
  • kpass generate <path> ... — add or update a record with a generated password
  • kpass edit <record> ... — edit one field in $EDITOR
  • kpass ls <group> — list a group subtree
  • kpass cp <source> <destination> — copy a record or group
  • kpass mv <source> <destination> — move a record or group
  • kpass rm <target> — move to the Recycle Bin; use -f to delete permanently
  • kpass init [path] — create a new vault
  • kpass vault ... — change vault password or keyfile
  • kpass completion <bash|zsh|fish> — print shell completions

Common flags

  • --db — database path
  • --db-password — database password
  • --db-password-file — read password from file
  • --db-keyfile — keyfile for unlocking the database
  • --all — show all content
  • --clip — copy the selected field to the clipboard
  • --xml — output raw KeePass XML
  • --version — show the version number

Insert and generate also accept:

  • -u, --username
  • -p, --password
  • -e, --email
  • -l, --url
  • -n, --notes
  • --otp

Environment variables:

  • KPASS_DB
  • KPASS_PASSWORD
  • KPASS_PASSWORD_FILE
  • KPASS_KEYFILE

Links

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

kpass_cli-0.1.1.tar.gz (44.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kpass_cli-0.1.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file kpass_cli-0.1.1.tar.gz.

File metadata

  • Download URL: kpass_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 44.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kpass_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7771237aa427e22587900875b921da6b57d4c8eb123d21b6041aea8698dbf3cf
MD5 6434d784f8a8826b52225f5d92fb0aea
BLAKE2b-256 57c9ea33ae52d13077f44c6f55bb74ea1b630efacc3aa3f6e39f03a703ab2317

See more details on using hashes here.

Provenance

The following attestation bundles were made for kpass_cli-0.1.1.tar.gz:

Publisher: release.yml on Lanjelin/kpass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kpass_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kpass_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kpass_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efc86da14fffa1b9a6737bd9690b29675a4988016c54483de975f4bc22e2e798
MD5 3958eec4e1c559cf1c047f57e622b7e4
BLAKE2b-256 c2fe48c9cbe65cbf0d66e7518eadf4f24ce8c112bc230c4850985706abc9b828

See more details on using hashes here.

Provenance

The following attestation bundles were made for kpass_cli-0.1.1-py3-none-any.whl:

Publisher: release.yml on Lanjelin/kpass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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