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

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


Please enter 3f931d in the box below so that we can be sure you are a human.