A secrets plumbing plugin for the Pants build system
Project description
Secrets backend for Pants
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pants-backend-secrets-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeb9e7120aea208ab4d1b100055bf4125619286a7c7ae07e5f81de482b781fb9 |
|
MD5 | a6dba43d874d8429a3cd2120dd71e7b3 |
|
BLAKE2b-256 | d26f4f0a6d98132ccd986c1db91ae4d5d887b0d716fa40e5665710e5f60179b7 |
Close
Hashes for pants_backend_secrets-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811ce82efc302eac2b670bfc68efdd6075eb3b4afa82d0d74370661749bd5236 |
|
MD5 | 636ac3156b1d5582eeff771a9be399d1 |
|
BLAKE2b-256 | a47f9736a0f9a1d20096360762ea71abc7659cf5542c1e286eb7cbc2bd6939f2 |