devwork-g / AzureFunctionsPGPEncrypt

Azure function which performs PGP encryption.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license

AzureFunctionsPGPEncrypt

Azure function which performs PGP encryption using PgpCore. The public key can be stored in an environment variable or in Azure Key Vault by using Key Vault references.

Get started

  • Store the Base64 encoded public key or a Key Vault reference in an environment variable called pgp-public-key.
  • Make a request to the function with the unencrypted data in the body

Key generation

Option 1: Use a program such as GPG or GPW4Win.
Option 2: Use the console app PGPEncryptConsoleApp in the repo

About

Azure function which performs PGP encryption.

License:MIT License


Languages

Language:C# 100.0%