1) The username and password that you set in user-mgt.xml is read-only in the very first server startup to create the required entries in the DB. If you change it after that it will not do any changes to the admin user credentials. If you need to change it after the initial server start you may have to change it from the embedded ldap in IS. See the answer for this question http://stackoverflow.com/questions/24105848/wso2-identity-server-5-0-0-chpasswd-sh-not-working
2) API key and secret are retrieved by registering an OAuth Service Provider in IS. On general instructions on how to register a service provider refer this https://docs.wso2.com/display/IS500/Adding+a+Service+Provider On Tue, Dec 20, 2016 at 11:15 PM, Jarett DeAngelis <[email protected]> wrote: > So, I am standing up an additional development instance of Airavata for > experimentation purposes, and am trying to work my way through installing > WSO2. I posted this on Stack Exchange, but fear I will probably not get any > responses. > > http://stackoverflow.com/questions/41252890/wso2-is-5- > 2-how-do-i-a-set-admin-credentials-b-create-api-key-and-secret > > Text: > > I'm using WSO2 with the Airavata science gateway software, and > unfortunately some of the instructions for getting started are a little > opaque. Two things I'm trying to accomplish: > > 1) set the "starting" admin username and password. As I understand it, > these are set in WSO2 itself / its built in "H2" database, not whatever > user/password store it's connected to such as LDAP. I can't find where to > set that. I thought it was in user-mgt.xml, but the credentials you set > there in the tags appear not to do anything. > > 2) Airavata uses an API key and secret key to connect to WSO2 IS. I can't > find anywhere in the WSO2 setup where this is created. > > Help? > > TIA. > > Jarett > -- Thank you Supun Nakandala Dept. Computer Science and Engineering University of Moratuwa
