UserPublicKeysController0 Resource

This controller is responsible for handling user public keys. These keys can be used by the provisoner to allow the user to login to the VMs from the machine the keys correspond to.

POST /user/v0.0/switch/provision/confuserkey

Security Roles Allowed
ADMIN, USER
Request Body
media type data type
text/xml confUserKey (XML)
Response Body
media type data type
application/json string (JSON)
application/xml string (XML)

Example

Request
POST /user/v0.0/switch/provision/confuserkey
Content-Type: text/xml
Accept: application/json

                
<confUserKey>
  <userKey level="0" name="planner_output_all">...</userKey>
  <user>user</user>
  <pwd>123</pwd>
  <action>58c2c2f3a8d4b56889878d03</action>
</confUserKey>

                
              
Response
HTTP/1.1 201 Looks Good
Content-Type: application/json

                
...