Skip to content

Instantly share code, notes, and snippets.

@boina-n
Created December 26, 2018 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boina-n/d2a4a7bef82dd4f1e8e44730a265fa95 to your computer and use it in GitHub Desktop.
Save boina-n/d2a4a7bef82dd4f1e8e44730a265fa95 to your computer and use it in GitHub Desktop.
CREATE A CREDHUB USER in the UAA Identity provider.
### CREATE A CREDHUB USER
"UAAC Target: uaac target ${DIRECTOR_UAA_URI} --skip-ssl-validation
"UAAC Login: uaac token owner get ${DIRECTOR_UAA_LOGIN_USER} ${DIRECTOR_UAA_ADMIN_USER} -s ${DIRECTOR_UAA_LOGIN_PASS} -p ${DIRECTOR_UAA_ADMIN_PASS}
"Credhub USER: uaac client add --name ${CREDHUB_CLIENT} --scope \"uaa.none\" --authorized_grant_types client_credentials --authorities \"credhub.write,credhub.read\" -s ${CREDHUB_CLIENT_SECRET} credhub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment