{"id":17180794,"url":"https://github.com/jsok/docker-credential-vault","last_synced_at":"2026-05-17T04:46:24.105Z","repository":{"id":148166686,"uuid":"199593256","full_name":"jsok/docker-credential-vault","owner":"jsok","description":"Docker credential helper to store credentials in HashiCorp Vault","archived":false,"fork":false,"pushed_at":"2019-07-31T00:36:12.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T03:15:19.444Z","etag":null,"topics":["credentials-helper","docker","vault"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-07-30T06:54:40.000Z","updated_at":"2020-02-07T22:53:01.000Z","dependencies_parsed_at":"2023-11-20T06:53:22.754Z","dependency_job_id":null,"html_url":"https://github.com/jsok/docker-credential-vault","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/jsok%2Fdocker-credential-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fdocker-credential-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fdocker-credential-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsok%2Fdocker-credential-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsok","download_url":"https://codeload.github.com/jsok/docker-credential-vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377958,"owners_count":20605374,"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":["credentials-helper","docker","vault"],"created_at":"2024-10-15T00:31:46.770Z","updated_at":"2025-10-23T17:29:11.542Z","avatar_url":"https://github.com/jsok.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-credential-vault\n\nA [Docker credential helper](https://github.com/docker/docker-credential-helpers) to store credentials in [HashiCorp Vault](https://vaultproject.io).\n\n## Usage\n\n 1. In your docker config (`~/.docker/config.json` typically), set:\n\n    ```json\n    {\n        \"credsStore\": \"vault\"\n    }\n    ```\n\n 1. Ensure `docker-credential-vault` is in your `$PATH`.\n 1. Decide which Vault KV backend (both v1 and v2 are supported) and the path t\n 1. `export DOCKER_CREDENTIAL_VAULT_KV_PATH=secret/path/to/use`: This is a KV backend (both v1 and v2 are supported) path where the helper will store and look for credentials.\n 1. Configure how the helper will connect to vault, all the standard `$VAULT_` environment variables will be used to configured the vault client, e.g. `$VAULT_ADDR` and `$VAULT_TOKEN` will be required at a minimum. \n\n## Internals\n\nThe helper will store the credentials in the following format, e.g. server URL is `https://example.com:8080`:\n\n`vault kv get -format=json $DOCKER_CREDENTIAL_VAULT_KV_PATH/example.com` will return:\n\n```json\n{\n  \"request_id\": \"89ec7fd0-be41-2e85-7c79-1b16199a3d7b\",\n  \"lease_id\": \"\",\n  \"lease_duration\": 0,\n  \"renewable\": false,\n  \"data\": {\n    \"data\": {\n      \"Secret\": \"s3cr3t\",\n      \"ServerURL\": \"https://example.com\",\n      \"Username\": \"docker\"\n    },\n    \"metadata\": {\"redacted\": \"metadata\"}\n  },\n  \"warnings\": null\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsok%2Fdocker-credential-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsok%2Fdocker-credential-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsok%2Fdocker-credential-vault/lists"}