Decode Base64 to String using Cryptography in SNOW

Rajanmehta
Mega Guru

Hello 

We are on Jakarta version. I have a need to convert native Powershell script to SNOW script. (code snippet below)

I need to create signature and headers as below using Cryptography and then pass it to URL with JSON body.

All other variables are passes into the script. I need to generate Signature and Headers.

It works fine with Powershell command. Is there a way to use the same code in SNOW script? 

If yes, please advise how do I achieve that? 

Thanks,

 

find_real_file.png

 

 

5 REPLIES 5

Thanks Terry for your reply. 

I understand we can execute the Powershell script residing on MID server directly from WF with custom action, but I wanted to know if it is possible to run directly from SNOW, independent of external script and independent from MID server availability. (i.e. If MID server goes down )

Thanks,

Rajan Mehta