Skip to main content
Pre-release

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

Secrets backend for Pants

This release targets Pants 2.32.x. Install it with pants-backend-secrets==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 utilities for handling secrets.

Planned and missing features

  • Setting and creating secrets via Pants

Targets

env_secret

A secret to be read from the environment.

env_secret(
    name="bw_session_key",
    key="BW_SESSION",
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
key The environment variable to read. Required
decsription A description of the target
tags List of tags []

Goals

decrypt

Decrypts and prints a secret.

BW_SESSION="..." pants decrypt //examples/bitwarden:pypi_token
22:29:42.17 [INFO] Completed: Decrypting examples/bitwarden:pypi_token
Secret examples/bitwarden:pypi_token from BitWarden: pypi-...

Metadata

Release files for pants-backend-secrets 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-secrets 0.8.0rc0
File Size Uploaded Provenance Actions
pants_backend_secrets-0.8.0rc0.tar.gz 9.0 kB Without provenance Details for pants_backend_secrets-0.8.0rc0.tar.gz

Built distribution (wheel)

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

Total release size: 20.7 kB

Release files / pants_backend_secrets-0.8.0rc0.tar.gz

Download URL pants_backend_secrets-0.8.0rc0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
74396d27bad38cf28dded0d86a006d7edd7e3a977ce806c50239793f2c1426c8
BLAKE2b-256 checksum
How to use checksums
5c68ee2156c0c1ad6f4e6db5a825fed477cc9e630e18a6578e428547af84989e
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_secrets-0.8.0rc0-py2.py3-none-any.whl

Download URL pants_backend_secrets-0.8.0rc0-py2.py3-none-any.whl
Size 11.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f00749f4695c74e26c58ad63cb5d632ac9b218cbe6ae8cd9f2a201392c08d9df
BLAKE2b-256 checksum
How to use checksums
8c1521b660b084fc1984a4621ba5e654fca1d42b87704670975e754117b61201
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-secrets 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