Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BitWarden backend for Pants

This release targets Pants 2.32.x. Install it with pants-backend-bitwarden==0.8.0rc0 in [GLOBAL].plugins in pants.toml.

PyPI

Warning This plugin is in development. No stability is guaranteed! Contributions welcome.

This backends implements targets for reading BitWarden secrets.

  • bw - the BitWarden CLI client

Tool versions

The default is Bitwarden CLI 2026.10.0. Version 2026.9.1 remains selectable with --bitwarden-version=2026.9.1 or [bitwarden].version. Both versions include native Linux/macOS binaries for x86-64 and ARM64; historical versions retain their existing platform coverage.

Planned and missing features

  • Setting and creating secrets via Pants

Targets

bw_item

Matches one entry in your vault.

bw_item(
    name="pypi",
    id="386c6037-cbdd-4aa3-ba80-9ed6661f751b",
    session_secret=":bw_session_key",
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
id Item id used by this target as seen in the address bar Required
item_name The name in the vault. If ambiguous this will fail. Prefer IDs.
session_secret The secret to use for the BW_SESSION variable. env["BW_SESSION"]
decsription A description of the target
tags List of tags []

bw_password

The password of an item in your vault.

bw_password(
    name="pypi_password",
    item=[":pypi"],
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
item The item containing the password. Required
decsription A description of the target
tags List of tags []

bw_field

A field from an item in your vault. These are the "Custom Fields" at the bottom of an item, not to be confused with attachments.

bw_field(
    name="pypi_token",
	field_name="api_token"
    item=[":pypi"],
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
item The item containing the password. Required
field_name The item containing the password. Required
decsription A description of the target
tags List of tags []

Metadata

Release files for pants-backend-bitwarden 0.8.0rc0

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

Source distribution (sdist)

Source distribution for pants-backend-bitwarden 0.8.0rc0
File Size Uploaded Provenance Actions
pants_backend_bitwarden-0.8.0rc0.tar.gz 7.8 kB Without provenance Details for pants_backend_bitwarden-0.8.0rc0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pants-backend-bitwarden 0.8.0rc0
File Interpreter ABI Platform Actions
pants_backend_bitwarden-0.8.0rc0-py2.py3-none-any.whl Python 3, Python 2 none any Details for pants_backend_bitwarden-0.8.0rc0-py2.py3-none-any.whl

Total release size: 17.0 kB

Release files / pants_backend_bitwarden-0.8.0rc0.tar.gz

Download URL pants_backend_bitwarden-0.8.0rc0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
718f40bc3062b9f6de18bf3ee48fa080f86fb87c491099b7d3b92c7a42747bb2
BLAKE2b-256 checksum
How to use checksums
f101632e041eb87e9f3f8043eb9546080e1ab8658a95979b4780dc5d9d9ef3b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / pants_backend_bitwarden-0.8.0rc0-py2.py3-none-any.whl

Download URL pants_backend_bitwarden-0.8.0rc0-py2.py3-none-any.whl
Size 9.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
43b4c8e8543618bd74cc6adc7880434256f7f35fbe6cd30bf21322dea90d4eae
BLAKE2b-256 checksum
How to use checksums
c64ca3951dd003590c29f2c9e58de80fa7e5bfa8eded740436dc53e8dcc2fdef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for pants-backend-bitwarden 0.8.0rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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