Skip to content

formalco/decrypt-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decrypt Lambda

Deploy a Lambda function within your infrastructure to enable users to decrypt sensitive data from their browser.

Once deployed, you will be able to use the API URL provided by the AWS API Gateway and add the URL as a decryptor URI for a Formal Encryption Key.

Note: we highly encourage making sure the API Gateway is only accessible via a VPN to prevent users outside of your organization from making requests to the /decrypt endpoint.

There are three deployment methods: Terraform, Serverless (via Cloudformation), and Docker.

Deploying via Terraform (Recommended)

To deploy via Terraform, we recommend incorporating the configuration template provided in the terraform directory into your Terraform setup. To deploy the configuration as-is, run make deploy-terraform with your AWS credentials and with the Terraform CLI installed. This deployment deploys the API Gateway and Lambda in a private subnet within your VPC.

Deploying via Serverless

To deploy via Serverless, run make deploy-sls with your Serverless credentials. Note: you will need a Serverless licesnse, AWS Account, and the Serverless CLI installed. This deployment deploys the API Gateway and Lambda publicly.

Deploying via Docker

To deploy via Docker, use the provided Dockerfile to build and push to an ECR repo. The resulting container image can be used to deploy a lambda function as a container image.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors