Last active
March 12, 2020 17:55
-
-
Save dwallraff/873603b874076a12e1189b70cec59d7c to your computer and use it in GitHub Desktop.
get your 'precreated-client' bearer token from uaa when you have multiple contexts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat ~/.uaac.yml | ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))' | jq -r '.[].contexts[] | select(.client_id =="precreated-client") | .access_token' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment