Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
.yardopts
Gemfile
LICENSE.TXT
NOTICE.TXT
README.md
Rakefile
cf-uaac.gemspec

README.md

CloudFoundry UAA Command Line Client

Build the gem

$ bundle install
$ gem build cf-uaac.gemspec

Install it

$ gem install cf-uaac*.gem

or from rubygems

$ gem install cf-uaac

Run it

$ uaac help
$ uaac target uaa.cloudfoundry.com
$ uaac token get <your-cf-username>
$ uaac token decode

To use the APIs, see: https://github.com/cloudfoundry/cf-uaa-lib

Tests

Run the tests with rake:

$ bundle exec rake test

Run the tests and see a fancy coverage report:

$ bundle exec rake cov

Run integration tests (on a server running on localhost:8080/uaa):

$ export UAA_CLIENT_ID="admin"
$ export UAA_CLIENT_SECRET="adminsecret"
$ export UAA_CLIENT_TARGET="http://localhost:8080/uaa"
$ bundle exec rspec spec/integration_spec.rb
Something went wrong with that request. Please try again.