Name | pants-backend-secrets JSON |
Version | 0.3.0 JSON |
download | |
home_page | |
Summary | A secrets plumbing plugin for the Pants build system |
upload_time | 2023-11-21 18:46:46 |
maintainer | |
docs_url | None |
author | |
requires_python | |
license | |
keywords | pantsbuild pants backend secrets |
VCS | |
bugtrack_url | |
requirements | No requirements were recorded. |
Travis-CI | No Travis. |
coveralls test coverage | No coveralls. |
# Secrets backend for Pants [![PyPI](https://img.shields.io/pypi/v/pants-backend-secrets?label=Latest%20release)](https://pypi.org/project/pants-backend-secrets) > **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. ``` python 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. ```console 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-... ```
{ "_id": null, "home_page": "", "name": "pants-backend-secrets", "maintainer": "", "docs_url": null, "requires_python": "", "maintainer_email": "", "keywords": "pantsbuild,pants,backend,secrets", "author": "", "author_email": "Tom Solberg <me@sbg.dev>", "download_url": "https://files.pythonhosted.org/packages/a8/54/5b9b1d28415532851b38e99738a7612053736ee8c66b6f81cb4b72508021/pants-backend-secrets-0.3.0.tar.gz", "platform": null, "description": "# Secrets backend for Pants\n\n[![PyPI](https://img.shields.io/pypi/v/pants-backend-secrets?label=Latest%20release)](https://pypi.org/project/pants-backend-secrets)\n\n> **Warning**\n> This plugin is in development. No stability is guaranteed! Contributions welcome.\n\nThis backends implements utilities for handling secrets.\n\n## Planned and missing features\n\n* Setting and creating secrets via Pants\n\n## Targets\n\n### `env_secret`\n\nA secret to be read from the environment.\n\n``` python\nenv_secret(\n name=\"bw_session_key\",\n key=\"BW_SESSION\",\n)\n```\n\n| Argument | Meaning | Default value |\n|---------------|-----------------------------------|-------------------------------------------------------|\n| `name` | The target name | Same as any other target, which is the directory name |\n| `key` | The environment variable to read. | **Required** |\n| `decsription` | A description of the target | ` ` |\n| `tags` | List of tags | `[]` |\n\n\n## Goals\n\n### `decrypt`\n\nDecrypts and prints a secret.\n\n```console\nBW_SESSION=\"...\" pants decrypt //examples/bitwarden:pypi_token\n22:29:42.17 [INFO] Completed: Decrypting examples/bitwarden:pypi_token\nSecret examples/bitwarden:pypi_token from BitWarden: pypi-...\n```\n\n", "bugtrack_url": null, "license": "", "summary": "A secrets plumbing plugin for the Pants build system", "version": "0.3.0", "project_urls": { "Changelog": "https://github.com/tgolsson/pants-backends/tree/main/pants-plugins/secrets/CHANGELOG.md", "Code": "https://github.com/tgolsson/pants-backends/tree/main/pants-plugins/secrets", "Repository": "https://github.com/tgolsson/pants-backends" }, "split_keywords": [ "pantsbuild", "pants", "backend", "secrets" ], "urls": [ { "comment_text": "", "digests": { "blake2b_256": "e1dc0317dfb7843e3f59e86d2bc8218d18bd47891be327cc463874381aa0a8b9", "md5": "0b06256d75305cd11dbc70aaed457ee4", "sha256": "d4b762d8ff53b55eade5a7d12be8f0b0c83b2efb94525d796c4991b31e5f824b" }, "downloads": -1, "filename": "pants_backend_secrets-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "0b06256d75305cd11dbc70aaed457ee4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10483, "upload_time": "2023-11-21T18:46:44", "upload_time_iso_8601": "2023-11-21T18:46:44.633988Z", "url": "https://files.pythonhosted.org/packages/e1/dc/0317dfb7843e3f59e86d2bc8218d18bd47891be327cc463874381aa0a8b9/pants_backend_secrets-0.3.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "a8545b9b1d28415532851b38e99738a7612053736ee8c66b6f81cb4b72508021", "md5": "07541a5472373438765b39ca1b30cda6", "sha256": "93822d479afa7cea3866d46a06012439424c37ae580ee9fd765acee591daa0b7" }, "downloads": -1, "filename": "pants-backend-secrets-0.3.0.tar.gz", "has_sig": false, "md5_digest": "07541a5472373438765b39ca1b30cda6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7971, "upload_time": "2023-11-21T18:46:46", "upload_time_iso_8601": "2023-11-21T18:46:46.943463Z", "url": "https://files.pythonhosted.org/packages/a8/54/5b9b1d28415532851b38e99738a7612053736ee8c66b6f81cb4b72508021/pants-backend-secrets-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "upload_time": "2023-11-21 18:46:46", "github": true, "gitlab": false, "bitbucket": false, "codeberg": false, "github_user": "tgolsson", "github_project": "pants-backends", "travis_ci": false, "coveralls": false, "github_actions": true, "lcname": "pants-backend-secrets" }