Layer7 API Management

Expand all | Collapse all

GMU browse

Jump to Best Answer
  • 1.  GMU browse

    Posted 11-09-2016 11:29 PM

    Hello There,

    Is there a way I can browse identityproviders using GMU browse command and showIds?

     

    Thank you!



  • 2.  Re: GMU browse

    Posted 11-10-2016 05:57 AM

    Hi Sravan,

     

    The best way to do this is to do a GET on the RESTMAN. 

     

    GET 1.0/identityProviders

    https://<GatewayName>:9443/restman/1.0/identityProviders 

     

    This will give you the id and the Identity provider which you can use in the GMU command line

     

    GatewayMigrationUtility.sh list --host <Gateway_name> --idProvider <provider id> -u admin --plaintextPassword 7layer -type USER

     

    You may have to try a few options before getting your desired result.

     

    Regards

    Seenu Mathew

     

     



  • 3.  Re: GMU browse
    Best Answer

    Posted 11-10-2016 12:14 PM

    You can also use the GMU instead of restman to get a list of the provider ids. The output may be a little easier to work with as it just returns the id and the provider name.

     

    GatewayMigrationUtility.bat list -h <Gateway_name> -u admin --plaintextPassword <password> --trustCertificate --trustHostname -t ID_PROVIDER_CONFIG



  • 4.  Re: GMU browse

    Posted 11-10-2016 09:08 PM

    Thank you Bill!