[Dev] API manager - mechanism for access api manager random generated keys

2014-10-20 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, Is there any way to randomly generate api keys(token,secret and cosumer keys)??? If yes, Is there a way to access those randomly generated keys(apis) from outside without hardcoding(ex. adding manually in web.xml ). Is there any documents or blogposts regarding above concerns ???

Re: [Dev] API manager - mechanism for access api manager random generated keys

2014-10-20 Thread Lakshman Udayakantha
Hi Akila, In case of api access tokens generated per application basis, you can use regenerateApplicationAccessKey method in SubscriberKeyMgtClient class to get generated application access tokens *randomly* for APIs. if you call from jaggery layer to generate tokens randomly you can use

Re: [Dev] API manager - mechanism for access api manager random generated keys

2014-10-20 Thread Harsha Kumara
Hi Akila, You also can use REST APIs provide by the API Manager. More details in [1]. [1]-https://docs.wso2.com/display/AM170/Token+API Thanks, Harsha On Mon, Oct 20, 2014 at 8:38 PM, Lakshman Udayakantha lakshm...@wso2.com wrote: Hi Akila, In case of api access tokens generated per