{"id":16630902,"url":"https://github.com/zmb3/blackbox","last_synced_at":"2025-06-11T10:34:53.729Z","repository":{"id":57595533,"uuid":"100612113","full_name":"zmb3/blackbox","owner":"zmb3","description":"Move Concourse params to Vault","archived":false,"fork":false,"pushed_at":"2017-10-11T20:27:38.000Z","size":8316,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-11T18:53:24.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmb3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-17T14:26:25.000Z","updated_at":"2018-10-18T17:15:26.000Z","dependencies_parsed_at":"2022-09-26T19:53:02.758Z","dependency_job_id":null,"html_url":"https://github.com/zmb3/blackbox","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmb3%2Fblackbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmb3%2Fblackbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmb3%2Fblackbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmb3%2Fblackbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmb3","download_url":"https://codeload.github.com/zmb3/blackbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmb3%2Fblackbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259246782,"owners_count":22828110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T04:49:56.830Z","updated_at":"2025-06-11T10:34:53.652Z","avatar_url":"https://github.com/zmb3.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blackbox\n\nA tool for moving secrets from Concourse params files into Vault.\n\n## Installation\n\nDownload a [release](https://github.com/zmb3/blackbox/releases) for your platform, or:\n\n```\n$ go get -u github.com/zmb3/blackbox\n```\n\n## Usage\n\nFirst, set the `VAULT_ADDR` and `VAULT_TOKEN` environment variables.\n\nRun blackbox with:\n\n```\n$ blackbox -in params.yml -out sanitized.yml -path concourse/myteam/mypipeline\n```\n\nFor each parameter, the tool will ask you whether or not you would like to move it\nto Vault.  To accept the default value (no), simply press enter.  To move the param\nto Vault, enter `y` and press enter.\n\nWhen the tool completes, it will write a new YML file containing only the non-sensitive\nValues that were not moved to vault.\n\n### Example\n\n```sh\n$ cat params.yml\nsecret1: password1\nparam1: param1\nsecret2: password2\nusername: admin\n\n$ ./blackbox -in params.yml -out params2.yml -path secret/pipeline\nmove secret1? (n): y\nmove param1? (n):\nmove secret2? (n): y\nmove username? (n):\n\n$ cat params2.yml\nparam1: param1\nusername: admin\n\n$ vault list secret/pipeline\nKeys\n----\nsecret1\nsecret2\n\n$ vault read secret/pipeline/secret1\nKey             \tValue\n---             \t-----\nrefresh_interval\t768h0m0s\nvalue           \tpassword1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmb3%2Fblackbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmb3%2Fblackbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmb3%2Fblackbox/lists"}