{"id":19040908,"url":"https://github.com/cloudfoundry/credhub-cli","last_synced_at":"2025-04-12T21:28:02.953Z","repository":{"id":40538947,"uuid":"57993310","full_name":"cloudfoundry/credhub-cli","owner":"cloudfoundry","description":"CredHub CLI provides a command line interface to interact with CredHub servers","archived":false,"fork":false,"pushed_at":"2024-04-08T13:21:28.000Z","size":18425,"stargazers_count":38,"open_issues_count":5,"forks_count":43,"subscribers_count":30,"default_branch":"main","last_synced_at":"2024-04-10T19:03:31.132Z","etag":null,"topics":["bosh","cf-extensions","cloudfoundry","credential-manager","credhub"],"latest_commit_sha":null,"homepage":"","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/cloudfoundry.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}},"created_at":"2016-05-03T18:51:58.000Z","updated_at":"2024-06-20T19:20:37.125Z","dependencies_parsed_at":"2023-07-13T16:52:01.722Z","dependency_job_id":"ea8eec41-1c3f-4182-af09-88cff9b09a25","html_url":"https://github.com/cloudfoundry/credhub-cli","commit_stats":null,"previous_names":["cloudfoundry-incubator/credhub-cli","pivotal-cf/credhub-cli"],"tags_count":76,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry","download_url":"https://codeload.github.com/cloudfoundry/credhub-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248633857,"owners_count":21136926,"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":["bosh","cf-extensions","cloudfoundry","credential-manager","credhub"],"created_at":"2024-11-08T22:26:02.867Z","updated_at":"2025-04-12T21:28:02.916Z","avatar_url":"https://github.com/cloudfoundry.png","language":"Go","readme":"# \u003cdiv align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/cloudfoundry-incubator/credhub/master/docs/images/logo.png\" alt=\"CredHub\"\u003e\u003c/div\u003e\n\n[![slack.cloudfoundry.org](https://slack.cloudfoundry.org/badge.svg)](https://slack.cloudfoundry.org)\n[![GoDoc](https://godoc.org/github.com/golang/gddo?status.svg)](http://godoc.org/code.cloudfoundry.org/credhub-cli/credhub)\n\nCredHub manages credentials like passwords, certificates, certificate authorities, ssh keys, rsa keys and arbitrary values (strings and JSON blobs). CredHub provides a CLI and API to get, set, generate and securely store such credentials.\n\n* [CredHub Tracker](https://www.pivotaltracker.com/n/projects/1977341)\n\nSee additional repos for more info:\n\n* [credhub](https://code.cloudfoundry.org/credhub) :     CredHub server code\n* [credhub-acceptance-tests](https://github.com/cloudfoundry-incubator/credhub-acceptance-tests) : Integration tests\n* [credhub-release](https://github.com/pivotal-cf/credhub-release) : BOSH release of CredHub server\n\n### Installing the CLI\n\n#### Operating system compatibility\n\nThe `credhub` CLI is tested on Linux and Mac OS, and is supported on these systems.\nIt is not tested or supported on Windows, though it has been known to work at some point.\n\n#### MacOS X with Homebrew\n```bash\n  brew install cloudfoundry/tap/credhub-cli\n```\n\n#### Linux and Windows\nDownload and install the desired release from the [release page](https://github.com/cloudfoundry-incubator/credhub-cli/releases).\n\n### Building the CLI:\n\n`make` (first time only to get dependencies, will also run specs)\n\n`make build`\n\n### Go Client\n\nThis repository contains a Go client library that can be used independently of the CredHub CLI.  Documentation for this library can be found [here](https://godoc.org/code.cloudfoundry.org/credhub-cli/credhub).\n\n\n### Usage:\n\nCredHub CLI can be used to manage credentials stored in a CredHub server. You must first target the CredHub server using the `api` command. Once targeted, you must login with either user or client credentials. Future commands will be sent to the targeted server. For additional information on how to perform CLI operations, you may review the examples shown [here][1] or review the help menus with the commands `credhub --help` and `credhub \u003ccommand\u003e --help`.\n\n#### Debug Mode:\n\nTo see the API calls made by each CLI command, `export CREDHUB_DEBUG=true`.\n\n[1]:https://docs.cloudfoundry.org/api/credhub/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fcredhub-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry%2Fcredhub-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fcredhub-cli/lists"}