{"id":19040960,"url":"https://github.com/cloudfoundry/credhub-acceptance-tests","last_synced_at":"2025-06-12T11:33:32.116Z","repository":{"id":40538782,"uuid":"60619871","full_name":"cloudfoundry/credhub-acceptance-tests","owner":"cloudfoundry","description":"This repo provides acceptance tests for CredHub","archived":false,"fork":false,"pushed_at":"2025-06-09T13:22:52.000Z","size":11817,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-06-09T14:28:51.651Z","etag":null,"topics":["bosh","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-07T14:26:56.000Z","updated_at":"2025-06-09T13:22:56.000Z","dependencies_parsed_at":"2023-02-19T08:31:22.254Z","dependency_job_id":"ca1c720e-63de-40fe-81b7-48a8e1d67044","html_url":"https://github.com/cloudfoundry/credhub-acceptance-tests","commit_stats":null,"previous_names":["cloudfoundry-incubator/credhub-acceptance-tests"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry/credhub-acceptance-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-acceptance-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-acceptance-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-acceptance-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-acceptance-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry","download_url":"https://codeload.github.com/cloudfoundry/credhub-acceptance-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry%2Fcredhub-acceptance-tests/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259456059,"owners_count":22860478,"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","cloudfoundry","credential-manager","credhub"],"created_at":"2024-11-08T22:26:16.713Z","updated_at":"2025-06-12T11:33:31.150Z","avatar_url":"https://github.com/cloudfoundry.png","language":"Go","readme":"# Acceptance test suite for CredHub\n\nCredHub manages credentials like passwords, certificates, ssh keys, rsa keys, strings (arbitrary values) and CAs. 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://github.com/cloudfoundry-incubator/credhub) :     CredHub server code \n* [credhub-cli](https://github.com/cloudfoundry-incubator/credhub-cli) :     command line interface for credhub\n* [credhub-release](https://github.com/pivotal-cf/credhub-release) : BOSH release of CredHub server\n\n### Get prerequisites\n\nEnsure that you have a local version of the CredHub CLI and ginkgo checked out in your $GOPATH\n\nInstall the CredHub CLI\n```sh\ngo get code.cloudfoundry.org/credhub-cli\n```\n\nTo install ginkgo see [ginkgo installation](https://github.com/onsi/ginkgo#global-installation)\n\n\n### Run Tests locally\n\nTarget your local API by running:\n\n```sh\ncat \u003c\u003cEOF \u003e test_config.json\n{\n  \"api_url\": \"https://${YOUR_IP_HERE}:8844\",\n  \"api_username\":\"${YOUR_USERNAME}\",\n  \"api_password\":\"${YOUR_PASSWORD}\",\n  \"credential_root\":\"${YOUR_CREDHUB_CA_PATH}\",\n  \"uaa_ca\":\"${UAA_CA_PEM_FILE}\"\n}\nEOF\n```\n\nRuns local CredHub testing via:\n\n```sh\n./scripts/run_tests.sh\n```\n\nTo run with a locally built credhub-cli you can replace the build step in \n[the before suite](https://github.com/cloudfoundry-incubator/credhub-acceptance-tests/blob/main/integration_test/integration_suite_test.go#L59)\nwith the path to your CLI.\n\n### Run Application Smoke Tests\n\nTarget your desired environment:\n\n```sh\ncat \u003c\u003cEOF \u003e test_config.json\n{\n  \"api_url\": \"https://${YOUR_IP_HERE}:8844\",\n  \"api_username\":\"${YOUR_USERNAME}\",\n  \"api_password\":\"${YOUR_PASSWORD}\"\n}\nEOF\n```\n\nRun smoke test suite via:\n\n```sh\n./scripts/run_smoke_tests.sh\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fcredhub-acceptance-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry%2Fcredhub-acceptance-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry%2Fcredhub-acceptance-tests/lists"}