[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073140#comment-14073140
 ] 

sadhu suresh commented on CLOUDSTACK-5870:
------------------------------------------

retrieved user data through getVirtualMachineUserdata API shows user data in 
encrypted(basse64 ) format.is it  expected  behavior or it should show value 
decrypted format as "customerVM

<getvirtualmachineuserdataresponse 
cloud-stack-version="4.5.0-SNAPSHOT"><virtualmachineuserdata><virtualmachineid>5c0b953e-e8ed-4774-92aa-b5d9eb7647f9</virtualmachineid><userdata>Y3VzdG9tZXJWTQ==</userdata></virtualmachineuserdata></getvirtualmachineuserdataresponse>

> API support for retrieving UserData
> -----------------------------------
>
>                 Key: CLOUDSTACK-5870
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5870
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>            Reporter: Alena Prokharchyk
>            Assignee: Alena Prokharchyk
>             Fix For: 4.4.0
>
>
> Current UserData behavior:
>  * userData is passed to the deployVm/updateVm call
>  * its stored in CS db and on the VR
>  * the only one way to retrieve the data, is to request it from the user vm 
> inside the network by sending http request to the Virtual Router.
>  We've adopted this model from Amazon EC2 APIs. But along the way I've 
> noticed that some third party integrators needed to read UserData by Admin to 
> get the information about all vms in the system/network. To solve the 
> problem, people were using different kinds of workarounds - db scripts to 
> read userData from cloudstack DB, or writing CS API extensions: 
> https://github.com/jasonhancock/cloudstack-api-extension.
> So the API I'm proposing, will let you to retrieve User Data via Web API. API 
> will be available to admin as well as end user.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to