Closed amadeuspzs closed 8 years ago
cf create-service predix-uaa Tiered xlpuser04-uaa -c '{"adminClientSecret":"clientsecret"}'
cf bind-service xlp-polymer xlpuser04-uaa
cf restage xlp-polymer
xlpuser-04-uaa
manifest.yml
cf env xlp-polymer
uaac target <uaa-URI>
uaac token client get admin
uaac client add xlpuser04-uaa-client -i
echo -n xlpuser04-uaa-client:clientsecret | base64
base64ClientCredential
clientId
uaac user add <my-user> --emails <my_user>@domain.com --password <my_password>
uaac group add uaa.user
uaac member add uaa.user user
1. Setup UAA service
cf create-service predix-uaa Tiered xlpuser04-uaa -c '{"adminClientSecret":"clientsecret"}'
cf bind-service xlp-polymer xlpuser04-uaa
cf restage xlp-polymer
xlpuser-04-uaa
tomanifest.yml
(duplicative of step 2?)cf env xlp-polymer
to extra2. Add client for UAA
uaac target <uaa-URI>
uaac token client get admin
uaac client add xlpuser04-uaa-client -i
:echo -n xlpuser04-uaa-client:clientsecret | base64
- save in manifest.yml underbase64ClientCredential
clientId
in manifest.yml3. Add users to app
uaac user add <my-user> --emails <my_user>@domain.com --password <my_password>
uaac group add uaa.user
uaac member add uaa.user user