Skip to main content

Simple bitwarden CLI written in Python to list and decrypt secrets

Project description

Bitwarden decrypt CLI

This is a port of the Bitwarden NodeJS CLI to Python focused on decryption of secrets

How to install


pip install bitwarden-simple-cli

How to use ?

Get decrypted valued

bw-simple get UUID FIELD

List items

bw-simple list

Currently supported fields

The script currently handles the decryption of the following entities and fields:

  • login
    • [ custom field name ]
    • name
    • notes
    • password
    • uri: retrieve first uri without new line
    • uris: retrieve all uris, one per line
    • username
  • note
    • [ custom field name ]
    • name
    • notes

It supports decryption of personal and organization ciphers.

Why this project ?

We use Ansible to manage infrastructures and use a lookup plugin to grab hundred of secrets. Each secret is retrieven with the native NodeJS CLI in about 0.85s on my computer. When you have hundreds of secrets, that makes long minutes to wait.

According to, node looks like to suffer from slow bootstrap.

This port to Python is aimed to increase secrets lookup performance. First benchmarks spotted that secrets could be retrieven in around 0.15s with this port.



Project details

Download files

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

Files for bitwarden-simple-cli, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size bitwarden_simple_cli-1.0-py2.py3-none-any.whl (60.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size bitwarden simple cli-1.0.tar.gz (16.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page