DaanHoogland commented on issue #2710: comply with api key constraint
URL: https://github.com/apache/cloudstack/pull/2710#issuecomment-397296744
 
 
   not coded any tests but here is the procedure:
   create accounts:
   6e349308-babf-4e2a-9dde-b956bb142b9a and
   c7413b70-7ef0-4dc3-9470-57719d3a354e in this example
   create a user 'mover' in c7413b70-7ef0-4dc3-9470-57719d3a354e
   give 'mover' keys:
   (local) SBCM5> list users username=mover 
domainid=efdbedc6-6f38-11e8-b011-0673d0010712 listall=true
   {
     "count": 1,
     "user": [
       {
         "account": "hoogland",
         "accountid": "c7413b70-7ef0-4dc3-9470-57719d3a354e",
         "accounttype": 1,
         "apikey": 
"PASEKfhttrjez87e9I2qsdiL95lYpvVTnVlibaMHDiJYN4KWKa_IYeFngkTP3XCp18triFmMA7jdmdmZJUTihw",
         "created": "2018-06-14T13:10:52+0000",
         "domain": "ROOT",
         "domainid": "efdbedc6-6f38-11e8-b011-0673d0010712",
         "email": "[email protected]",
         "firstname": "Mo",
         "id": "97005683-b42a-4912-b3f7-d0bb68ee9c9e",
         "iscallerchilddomain": false,
         "isdefault": false,
         "lastname": "Ver",
         "roleid": "058540e9-6f39-11e8-b011-0673d0010712",
         "rolename": "Root Admin",
         "roletype": "Admin",
         "state": "enabled",
         "timezone": "UTC",
         "username": "mover",
         "usersource": "native"
       }
     ]
   }
   
   move user accountid=6e349308-babf-4e2a-9dde-b956bb142b9a  
id=97005683-b42a-4912-b3f7-d0bb68ee9c9e 
   {
     "success": "true"
   }
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to