Admin activity without ruby based CLI?


Yogesh Gowdra
 

Hi,
I am planning to use UAA to implement SSO for my java based micro services. Our infrastructure does not let me use any other tools (like ruby based tools like uaac or cf) apart from java based. Is there any way in UAA I can setup new admin user or use existing admin user (by changing passwords) for my client registrations and other setups? Any help much appreciated.

Thanks


Madhura Bhave
 

Hi Yogesh,

You can add users directly via the API. Here is the documentation for the
API: http://docs.cloudfoundry.org/api/uaa/#create61

Madhura

On Fri, Sep 16, 2016 at 1:58 PM, Yogesh Gowdra <yogeshgv(a)gmail.com> wrote:

Hi,
I am planning to use UAA to implement SSO for my java based micro
services. Our infrastructure does not let me use any other tools (like ruby
based tools like uaac or cf) apart from java based. Is there any way in UAA
I can setup new admin user or use existing admin user (by changing
passwords) for my client registrations and other setups? Any help much
appreciated.

Thanks


Yogesh Gowdra
 

Hi Madhura,
Thanks for the response. But to use that API we need admin bearer access token which essentially requires that admin user be created. So my question is how do I start provisioning such admin account without using above mentioned tools. I know there is default 'admin' account. How do I reset its password without using these tools. Appreciate any insights on this.

Thanks


Yogesh Gowdra
 

I figured that we can set different admin password in 'oauth-clients.xml'. With this approach, I can pretty much use APIs to create new clients and further oAuth related operations.

Thanks