uaa-credentials-broker

command module
v0.0.0-...-5fa5cf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: CC0-1.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Cloud Foundry UAA Credentials Broker

Code Climate

This service broker allows Cloud Foundry users to provision and deprovision UAA users and clients:

Usage

UAA users
  • Create service instance:

    $ cf create-service cloud-gov-service-account space-deployer my-service-account
    
  • Create service key:

    $ cf create-service-key my-service-account my-service-key
    
  • Retrieve credentials from service key:

    $ cf service-key my-service-account my-service-key
    
  • To rotate or deprovision when user is no longer needed, delete the service key:

    $ cf delete-service-key my-service-account my-service-key
    
UAA clients
  • Create a service instance:

    $ cf create-service cloud-gov-identity-provider oauth-client my-uaa-client
    
  • Create service key:

    $ cf create-service-key my-uaa-client my-service-key \
        -c '{"redirect_uri": ["https://my.app.cloud.gov/auth/callback"]}'
    
  • Retrieve credentials from service key:

    $ cf service-key my-uaa-client my-service-key
    
  • To rotate or deprovision when client is no longer needed, delete the service key:

    $ cf delete-service-key my-uaa-client my-service-key
    

Deployment

  • Create UAA client:

    $ uaac client add uaa-credentials-broker \
        --name uaa-credentials-broker \
        --authorized_grant_types client_credentials \
        --authorities scim.write,uaa.admin,cloud_controller.admin \
        --scope uaa.none
    
  • Update Concourse pipeline:

    fly -t ci set-pipeline -p uaa-credentials-broker -c pipeline.yml -l credentials.yml
    

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

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.

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址