Summary:
Generate a one-time login info that can be used to establish a connection with the specified server.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
|
Description:
The login info generated by the generate_pass
call can be used to establish a connection with the specified server only once. Use this call when you want to establish a connection with a server in order to perform some task but don't want to send your permanent user ID and password over the network. You would normally use a one-time login info to establish a temporary connection with a remote Hardware Node to perform an operation such as server migration. On operation completion, the temporary connection is automatically terminated. At the same time the login info that was used to connect to the remote machine becomes invalid and cannot be used again.
Example:
The following example generates the temporary login info for the remote Hardware Node specified in the dst
element in the message header.
Input
<packet version="4.0.0">
<dst>
<host>08226eb6-113a-1045-8716-e738d669fd4e</host>
</dst>
<data>
<system>
<generate_pass/>
</system>
</data>
</packet>
Output
<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns3="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns2="http://www.swsoft.com/webservices/vzl/4.0.0/sessionm" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="3ec4655918et4509rd64" priority="0" version="4.0.0">
<ns1:origin>system</ns1:origin>
<ns1:target>vzclient7-1df4b04e-0d55-f246-b718-89bbc62fd371</ns1:target>
<ns1:data>
<ns1:system>
<ns2:pass xsi:type="ns3:auth_nameType">
<ns3:domain>bWFzdGVy</ns3:domain>
<ns3:name>MzVhYWRjYjYtZGFmNS1lOTQ1LTk0MjQtNzdhMDczN2ExZGNh</ns3:name>
<ns3:realm>00000000-0000-0000-0000-000000000002</ns3:realm>
</ns2:pass>
</ns1:system>
</ns1:data>
</ns1:packet>