Skip to main content

Secrets backend for Pants

This release targets Pants 2.31.0. Install it with pants-backend-secrets==0.7.0 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.7.0

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.7.0
File Size Uploaded
pants_backend_secrets-0.7.0.tar.gz 9.0 kB Details

Built distribution (wheel)

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

Total release size: 20.7 kB

Release files / pants_backend_secrets-0.7.0.tar.gz

Download URL pants_backend_secrets-0.7.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d85c88051e64289f65c618cad7ca31e4e5824f44dfe6217e3a145afcc4eba275
BLAKE2b-256 checksum
How to use checksums
e67633ae91030f5521863e8f428b4b0cfe1f34c37cf65341a9a75e2c297b0ed6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release files / pants_backend_secrets-0.7.0-py2.py3-none-any.whl

Download URL pants_backend_secrets-0.7.0-py2.py3-none-any.whl
Size 11.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d3377d42d5184070d952baf6f83b830f5bd44fa493be53dd751af59b33f57c63
BLAKE2b-256 checksum
How to use checksums
af3175726e80c8e252e2effd7f423520bb67ee44da62cf57dd0e33dd53c377ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

1 release file

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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