{"id":28749660,"url":"https://github.com/psigen/jfrog-credential-helpers","last_synced_at":"2025-06-16T20:44:05.641Z","repository":{"id":265181805,"uuid":"892695988","full_name":"psigen/jfrog-credential-helpers","owner":"psigen","description":"Docker credential shim using the JFrog API to access Artifactory","archived":false,"fork":false,"pushed_at":"2025-02-22T21:48:34.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T21:27:44.885Z","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/psigen.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":"2024-11-22T15:46:21.000Z","updated_at":"2025-02-22T21:47:54.000Z","dependencies_parsed_at":"2024-11-29T01:35:12.912Z","dependency_job_id":null,"html_url":"https://github.com/psigen/jfrog-credential-helpers","commit_stats":null,"previous_names":["psigen/docker-credential-artifactory"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/psigen/jfrog-credential-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fjfrog-credential-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fjfrog-credential-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fjfrog-credential-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fjfrog-credential-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psigen","download_url":"https://codeload.github.com/psigen/jfrog-credential-helpers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fjfrog-credential-helpers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260236325,"owners_count":22979397,"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":"2025-06-16T20:44:04.761Z","updated_at":"2025-06-16T20:44:05.629Z","avatar_url":"https://github.com/psigen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jfrog-credential-helpers\n\nCredential shims using the JFrog CLI to access Artifactory.\n\nCurrently supports **bazel** and **docker** via the following helpers:\n\n- `bazel-credential-jfrog`\n- `docker-credential-jfrog`\n\nThis internally calls the JFrog go client library to access the same stored\ncredentials that are used by the JFrog CLI.\n\n## Setting up the docker credential helper\n\n1.  Install the `docker-credential-jfrog` binary somewhere on your `$PATH`.\n\n    _(Note that you may need to `chmod +x` the file depending on how you fetched it)_\n\n2.  Add the following entry to your `~/.docker/config.json`\n    ```json\n    {\n      [...]\n      \"credHelpers\": {\n        \"\u003cserver-id\u003e.jfrog.io\": \"jfrog\"\n      }\n    }\n    ```\n\n3.  Use `jf login` to get credentials to log into artifactory.\n\n4.  You should now be able to run `docker pull \u003cserver.id\u003e.jfrog.io/\u003crepo\u003e/\u003cimage\u003e:\u003ctag\u003e`\n\n## Setting up the bazel credential helper\n\n1.  Install the `bazel-credential-jfrog` binary to a known location (or your `$PATH`)\n\n    _(Note that you may need to `chmod +x` the file depending on how you fetched it)_\n\n2.  Add the following to your `.bazelrc`:\n    ```\n    common --credential_helper=*.jfrog.io=/path/to/bazel-credential-jfrog\n    ```\n\n3.  Use `jf login` to get credentials to log into artifactory.\n\n4.  Rules such as `http_archive` and `http_file` can now access artifactory URIs.\n\n## Building manually\n\nTo manually build the executables in this package, use the following commands:\n\n```bash\ngo build -o docker-credential-jfrog ./cmd/docker\ngo build -o bazel-credential-jfrog ./cmd/bazel\n```\n\n## References\n\n- [EngFlow Credential Helper Spec](https://github.com/EngFlow/credential-helper-spec/blob/main/spec.md)\n- [Bazel Credential Helper Proposal](https://github.com/bazelbuild/proposals/blob/main/designs/2022-06-07-bazel-credential-helpers.md)\n- [`docker-credential-helpers` golang library](github.com/docker/docker-credential-helpers)\n- [`jfrog-cli` golang library](https://github.com/jfrog/jfrog-cli)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Fjfrog-credential-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsigen%2Fjfrog-credential-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Fjfrog-credential-helpers/lists"}