We store the files in Azure Storage, and then have an Azure Function access them to Encrypt/Decrypt PGP files. You could do something similar and have your Logic App call the Azure Function.