A Lambda function which takes files in one S3 bucket, encrypts them, and exports to another S3 bucket.
You can navigate to my currently deployed lambda instance and encrypt any files sitting in the S3 bucket! You won't be able to view the encrypted files, but you'll be able to see a success message like the one shown below!
Install Cargo Lambda and then clone the git repo:
git clone https://github.com/hadichaudhri/encrypt-files-lambda.gitCreate your .env file by copying .env.example to .env and configuring its environment variables.
Ensure that the lambda function has read-write access to the BUCKET_NAME and ENCRYPTED_BUCKET_NAME buckets.
# deploy the lambda function locally
make watch
# invoke the lambda function locally
make invoke
# deploy the lambda function remotely
make deploy
# invoke the lambda function remotely
make invoke-remotePull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
