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.0.tar.gz (44.1 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.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kpass_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 44.1 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.0.tar.gz
Algorithm Hash digest
SHA256 adc21f7d86d2351aa0ba6c2f3f194dada304ab9d59fa6c40b250dc7588819f5e
MD5 51ecf70871a854117c9ddb6f79dd3dac
BLAKE2b-256 3bfa90f02d73f22784e7ca4ba1c9dc301f53d959ca668c46df457ebd3d504b4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for kpass_cli-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: kpass_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 628d02195dac9d6719f2957d58497af748428ab533e79f9bffefcc4cf221f1a8
MD5 5a544b5c5abb4b84d5af36b0a7b09ce4
BLAKE2b-256 3d5a3f47f771270078a1252ef2212d191d106a789330a26a8de2d7566725ef39

See more details on using hashes here.

Provenance

The following attestation bundles were made for kpass_cli-0.1.0-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