Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Save base64 encoded File Attachment from a SOAP service, as the original file

$
0
0

Hi all

 

I am doing som work with Thycotic's Secret Server product, for a customer.

Among other things, they are using Secret Server, to store certificate's in p12 format, as attachments to "Secrets" inside Secret Server.

 

Secret Server have a SOAP API (and a not full feature REST API).

The SOAP API can deliver the attachments, as base64 encode strings.

 

I have a base64 javascript encoder/decoder action, which seems to work.

I have so far tested it with a simple TXT attachment in the Secret Server, and are able to convert those back to clear text.

 

Now the question:

 

What is the best way to decode a base64 encode file attachment, delivered as a string, back to it's originally file format, and save that to a vRO local file?

 

(the certificate is to be transferred from vRO into vRA deployed VMs and be installed there)

 

Hope somebody can give me some pointers, so I don't have to figure this out completely by my self :-)


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>