I need to decrypt a file stored in Azure blob storage using the key and store the decrypted file in another blob storage. Is it possible to perform this operation using Azure functions(Python).
I need to decrypt a file stored in Azure blob storage using the key and store the decrypted file in another blob storage. Is it possible to perform this operation using Azure functions(Python).
Hi @RathanaKalaivanan-6834 - You can certainly do that. Which encryption program are you using? Is it PGP?
Yes @MikeUrnun, it's PGP. Also is it possible to work with a 40GB using Azure functions under the consumption plan?
@RathanaKalaivanan-6834 You can use Azure KeyVault for storing & managing your PGP key and load it in your python code to do the decryption operation. The consumption plan has a 1.5GB memory but as long as you're processing your files in smaller chunks, you should be fine. There are multiple ways of approaching the implementation in Python depending on whether you're processing a text file vs binaries like images etc.. but the general solution is to read the files in smaller chunks and avoid memory overflow.
7 people are following this question.