Skip to main content

A secrets plumbing plugin for the Pants build system

Project description

Secrets backend for Pants

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-...

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

pants-backend-secrets-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

pants_backend_secrets-0.1.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pants-backend-secrets-0.1.0.tar.gz.

File metadata

  • Download URL: pants-backend-secrets-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.5

File hashes

Hashes for pants-backend-secrets-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97030da4e0125e68f0fb28767b8509690294d3c3833016c4ec3a6e565dbab5e7
MD5 ead91e8033febf8b736978ea1248b13c
BLAKE2b-256 e170b99526f692a41bfc5a6c6d6c5fff7458126648bdfc8ef66c46a4be1a1fc9

See more details on using hashes here.

File details

Details for the file pants_backend_secrets-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pants_backend_secrets-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.5

File hashes

Hashes for pants_backend_secrets-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af3d4b1ea68f1eb8c0b58492c3d96635ca2055784fe28b9e55eb6a7046709950
MD5 2215d24a86c7c565733304d0cc788e71
BLAKE2b-256 2ae0ece4a9c0d31a1c66c3701d8b5d5b3c206dcc3f04c724bd0c5d96ddd71751

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page