Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Last active July 15, 2017 02:37
Show Gist options
  • Save dwallraff/d505818c1085871f0819d92567e324bf to your computer and use it in GitHub Desktop.
Save dwallraff/d505818c1085871f0819d92567e324bf to your computer and use it in GitHub Desktop.
Get a uaac token from opsman
#!/bin/bash
OPSMAN=10.0.0.1
uaac target https://${OPSMAN}/uaa/
uaac token owner get
# Client ID: opsman
# Client Secret: [Press Enter]
# Username: <Ops Manager User name>
# Password: <Ops Manager Password>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment