Please bear with me I am new to CA Gateway.
What I have done:
I would appreciate your reply back and advice. Ty!
Passwords cannot be retrieved thru restman in their plain-text form for security reasons.
To export then import it into another gateway, export using:
GET restman/1.0/bundle?password=<id>&encryptSecrets=trueheader: L7-key-passphrase = <password to encrypt with>
header: L7-key-passphrase = <password to encrypt with>
PUT restman/1.0/bundleheader: L7-key-passphrase = <same password to decrypt with>
header: L7-key-passphrase = <same password to decrypt with>
Thank you for taking your time to share with me valuable information. Understood that I can't retrieve the password.
Bear with me asking one more question though. My ultimate goal is trying to update the target service account's password via PUT method. Would you mind teach me how to update the existing service account (e.g. FooAccount) 's password via restman?
I know the id but how can I enter new password to update?
<l7:StoredPassword xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management"> <l7:Name>Name</l7:Name> <l7:Password>PASSWORD</l7:Password> <l7:Properties> <l7:Property key="description"> <l7:StringValue>Test password</l7:StringValue> </l7:Property> <l7:Property key="type"> <l7:StringValue>Password</l7:StringValue> </l7:Property> <l7:Property key="usageFromVariable"> <l7:BooleanValue>false</l7:BooleanValue> </l7:Property> </l7:Properties></l7:StoredPassword>
Generally its just a l7:Password element