Sha256: 0629ba8f5d9f0b2adee454cc95521e26627ea94f8598e67f439394c11eda6599

Contents?: true

Size: 968 Bytes

Versions: 1

Compression:

Stored size: 968 Bytes

Contents

# CloudFoundry UAA Command Line Client

Command line gem for interacting with the CloudFoundry UAA server.

Set up a local ruby environment (so sudo not required):

  `$ rvm use 1.9.2`

or

  `$ rbenv global 1.9.2-p180`

see: https://rvm.io/ or http://rbenv.org/

Build the gem

  `$ bundle install`
  `$ gem build cf-uaac.gemspec`

Install it

  `$ gem install cf-uaac*.gem`

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`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cf-uaac-1.3.0 README.md