Broadcom API Gateway - List Identity Providers using the Gateway Migration Utility

by
Jeremy Canfield |
Updated: June 21 2022
| Broadcom API Gateway articles
This assumes you are familiar with the basic usage of the Gateway Migration Utility. Following is an example of how to list every Identity Provider in an API Gateway.
/path/to/GatewayMigrationUtility.sh restman
-host apig.example.com
-port 8443
-username john.doe
-password f5VPX0yUJPg.m4BrjdgMv84UgktddJD3xA
-method GET
-path '1.0/identityProviders'
Or the -argFile option can be used, to reduce the number of options that are used on the command line.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/identityProviders'
Or, a single identity provider can be returned by including the ID of the identity provider.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/identityProviders/ed470defe8384b2fdfcb701c3623de7a'
Or, you can use the -query option to return a single identity provider by including the name of the identity provider.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/identityProviders'
-query 'name=myIdP'
The -response option can be used to output the XML to a file.
/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/identityProviders/ed470defe8384b2fdfcb701c3623de7a'
-response /path/to/myIdentityProviders.xml
Did you find this article helpful?
If so, consider buying me a coffee over at