Devender S
Devender S

Reputation: 27

How to save .gpg key in Azure Key Vault and encrypt a file using key in Logic App

I am working on a functionality to encrypt a file using .gpg public key and send the file to SFTP location. I am using Azure Logic App (Standard) to write the workflow and Azure Key Vault to store keys/secrets.

I am unable to import .gpg key to Azure Key Vault under key section as it only supports .pfx, .pem, .byok.

Is there any other workaround to get this done? Preferring Logic Apps over Function Apps as I have the infra ready to use.

Upvotes: -3

Views: 46

Answers (1)

Joel Cochran
Joel Cochran

Reputation: 7728

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.

Upvotes: 0

Related Questions