What is best way to do PGP file encryption/decryption in logic apps

Lu Li 41 Reputation points
2021-06-10T04:43:38.873+00:00

Hello,

I have a requirement to encrypt/decrypt file using PGP in Azure Logic Apps. It looks like there is no out-of-box connector i can use. Does that mean i have to write my own code for this encryption function? I am new to Azure integration, please correct me if i am wrong and that would be helpful if anyone can give any suggestions?

Thanks in advance

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2021-06-10T05:42:21.197+00:00

    Hi @Lu Li

    Welcome to Microsoft Q&A! Thanks for posting the question.

    There are no PGP file encryption/decryption in logic apps. You need to offload this functionality to azure function and call the azure function within logic app.
    You need to write your own code for encryption/decryption. I come across this github repro and you can try to explore it and see if it helps you.
    Alternatively if you are comfortable with python you can leverage the python-gnupg library.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. kamala kotrike 0 Reputation points
    2024-11-06T02:41:11.7933333+00:00

    Hi I have the requirement to PGP encrypt the emails attachments coming from mailbox using power automate.Can you please refer me to the sample project or detailed step by steps to achieve

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.