{"id":16918161,"url":"https://github.com/vito/vaultchuck","last_synced_at":"2025-04-11T16:30:17.280Z","repository":{"id":66250889,"uuid":"95573710","full_name":"vito/vaultchuck","owner":"vito","description":"migrates a concourse pipeline from static credentials to vault","archived":false,"fork":false,"pushed_at":"2017-06-27T16:01:37.000Z","size":3,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T12:41:14.329Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vito.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-27T15:33:14.000Z","updated_at":"2018-11-29T07:53:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"935f48ce-e3f6-46e2-a82b-929237f62172","html_url":"https://github.com/vito/vaultchuck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fvaultchuck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fvaultchuck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fvaultchuck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fvaultchuck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vito","download_url":"https://codeload.github.com/vito/vaultchuck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248441224,"owners_count":21103947,"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-13T19:39:02.026Z","updated_at":"2025-04-11T16:30:17.263Z","avatar_url":"https://github.com/vito.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vaultchuck\n\nA one-off tool to ease migration from static credentials to Vault.\n\n## usage\n\nFirst, copy your current pipeline config to a file, like `pipeline-old.yml`.\n\nSecond, manually change the parameters in your pipeline config to how you want\nthem to look with vault. For example, you may change...:\n\n```yaml\n- name: concourse-docs\n  type: cf\n  source:\n    api: ((cf-target))\n    username: ((cf-username))\n    password: ((cf-password))\n    organization: ((cf-organization))\n    space: ((cf-space))\n```\n\n...to...:\n\n```yaml\n- name: concourse-docs\n  type: cf\n  source:\n    api: ((docs_cf.target))\n    username: ((docs_cf.username))\n    password: ((docs_cf.password))\n    organization: ((docs_cf.organization))\n    space: ((docs_cf.space))\n```\n\nThen, place your old params file somewhere on disk (ideally `/tmp`), and run:\n\n```sh\nvaultchuck --before pipeline-old.yml --after pipeline.yml --params /tmp/params.yml\n```\n\nYou can pass `--dry-run` to see what it'll try to write (excluding the\ncredentials).\n\nThis will diff the pipelines, and at each delta, use the old pipeline to fetch\nthe credential, and use the new pipeline to determine where to build it.\n\nOnce all the new keys and fields are collected, it will write each one to\nVault. You can then commit and push your new pipeline.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fvaultchuck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvito%2Fvaultchuck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fvaultchuck/lists"}