FreeKB - Broadcom API Gateway List Private Keys using the Gateway Migration Utility (GMU)
Broadcom API Gateway - List Private Keys using the Gateway Migration Utility (GMU)

This assumes you are familiar with the basic usage of the Gateway Migration Utility and that you are using an arguments file with an encoded password to connect to your API Gateway.

Following is an example of how to list every private key in an API Gateway.

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/privateKeys'

 

Or to list a specific private key.

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/privateKeys?alias=mykey'

 

Or, you can return a single private key by including the ID of the private key

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/privateKeys/fa003c1f2478cc407b0a8acbba2aa199'

 

Or, you can use the -query option to return a single private key by including the name of the private key.

/path/to/GatewayMigrationUtility.sh restman
-argFile example.properties
-method GET
-path '1.0/privateKeys'
-query 'name=mykey'

 

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/privateKeys'
-response /path/to/example.xml

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




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




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |