{"id":36561977,"url":"https://github.com/cloud-gov/uaa-credentials-broker","last_synced_at":"2026-01-17T18:26:30.053Z","repository":{"id":12596275,"uuid":"72323281","full_name":"cloud-gov/uaa-credentials-broker","owner":"cloud-gov","description":"Broker that allows users to provision and deprovision UAA users and clients","archived":false,"fork":false,"pushed_at":"2025-07-07T14:48:41.000Z","size":201,"stargazers_count":8,"open_issues_count":9,"forks_count":9,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-01-12T14:59:09.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-gov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-10-30T03:37:02.000Z","updated_at":"2025-07-07T14:48:44.000Z","dependencies_parsed_at":"2024-12-17T21:18:22.584Z","dependency_job_id":"cc398ec9-8ada-4fc9-b077-a6d0518070aa","html_url":"https://github.com/cloud-gov/uaa-credentials-broker","commit_stats":null,"previous_names":["cloudfoundry-community/uaa-credentials-broker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-gov/uaa-credentials-broker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fuaa-credentials-broker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fuaa-credentials-broker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fuaa-credentials-broker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fuaa-credentials-broker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-gov","download_url":"https://codeload.github.com/cloud-gov/uaa-credentials-broker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fuaa-credentials-broker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28515471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T17:57:59.192Z","status":"ssl_error","status_checked_at":"2026-01-17T17:57:52.527Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T06:51:32.252Z","updated_at":"2026-01-17T18:26:30.042Z","avatar_url":"https://github.com/cloud-gov.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cloud Foundry UAA Credentials Broker\n=====================================\n[![Code Climate](https://codeclimate.com/github/cloud-gov/uaa-credentials-broker/badges/gpa.svg)](https://codeclimate.com/github/cloud-gov/uaa-credentials-broker)\n\nThis service broker allows Cloud Foundry users to provision and deprovision UAA users and clients:\n\n* UAA users managed by the broker are scoped to a given organization and space and can be used to push applications when password authentication is needed--such as when deploying from a continuous integration service. Live example: [the cloud.gov service account service](https://cloud.gov/docs/services/cloud-gov-service-account/).\n* UAA clients can be used to leverage UAA authentication in tenant applications. Live example: [leveraging cloud.gov authentication](https://cloud.gov/docs/management/leveraging-authentication/) using the [cloud.gov identity provider service](https://cloud.gov/docs/services/cloud-gov-identity-provider/).\n\n## Usage\n\n### UAA users\n\n* Create service instance:\n\n    ```bash\n    $ cf create-service cloud-gov-service-account space-deployer my-service-account\n    ```\n\n* Create service key:\n\n    ```bash\n    $ cf create-service-key my-service-account my-service-key\n    ```\n\n* Retrieve credentials from service key:\n\n    ```bash\n    $ cf service-key my-service-account my-service-key\n    ```\n\n* To rotate or deprovision when user is no longer needed, delete the service key:\n\n    ```bash\n    $ cf delete-service-key my-service-account my-service-key\n    ```\n\n### UAA clients\n\n* Create a service instance:\n\n    ```bash\n    $ cf create-service cloud-gov-identity-provider oauth-client my-uaa-client\n    ```\n\n* Create service key:\n\n    ```bash\n    $ cf create-service-key my-uaa-client my-service-key \\\n        -c '{\"redirect_uri\": [\"https://my.app.cloud.gov/auth/callback\"]}'\n    ```\n\n* Retrieve credentials from service key:\n\n    ```bash\n    $ cf service-key my-uaa-client my-service-key\n    ```\n\n* To rotate or deprovision when client is no longer needed, delete the service key:\n\n    ```bash\n    $ cf delete-service-key my-uaa-client my-service-key\n    ```\n\n## Deployment\n\n* Create UAA client:\n\n    ```bash\n    $ uaac client add uaa-credentials-broker \\\n        --name uaa-credentials-broker \\\n        --authorized_grant_types client_credentials \\\n        --authorities scim.write,uaa.admin,cloud_controller.admin \\\n        --scope uaa.none\n    ```\n\n* Update Concourse pipeline:\n\n    ```bash\n    fly -t ci set-pipeline -p uaa-credentials-broker -c pipeline.yml -l credentials.yml\n    ```\n\n## Public domain\n\nThis project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md):\n\n\u003e This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).\n\u003e\n\u003e All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fuaa-credentials-broker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-gov%2Fuaa-credentials-broker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fuaa-credentials-broker/lists"}