Create a Client Identity

This topic provides an example of the XML to use with the AdminApi.adminSet method to create a client identity.

Method: sntl_admin_set (context, action, &return_status)

action (request)

action create

<?xml version="1.0" encoding="UTF-8"?>
<admin>
  <cloud_licensing>
    <create>
      <identity>
        <element issued_to="demo"/>
        <element allow_remote_login_access="1"/>
        <element allow_remote_detach_access="1"/>
        <element allow_network_detach_access="1"/>
        <element limit_to="663955188930016042"/>
        <element maximum_number_of_auto_registered_machines="3"/>
        <element expiration_date="1638236850"/>       
      </identity>
    </create>
 </cloud_licensing>
</admin>

A description of the elements used above can be found in Update a Client Identity.

return_status (response)

create status

<?xml version="1.0" encoding="UTF-8"?>
<admin_response>
 <admin_status>
  <code>0</code>
  <text>SNTL_ADMIN_STATUS_OK</text>
 </admin_status>
 <identity>
    <identity_code>I4H6DUJ</identity_code>
    <identity_secret>oBWAAQCBELUDnmM9Y8glZhVFHGLVRSs</identity_secret>
 </identity>
</admin_response>

Related Topics

Managing Cloud Licensing

XML Tags for Admin API Methods