Skip to content Skip to sidebar Skip to footer

Java Code to Encrypt Upload a File to S3

Upload and download encrypted files in your Node App with AWS S3

Steps to Upload and download encrypted files in AWS S3 :

AWS Console

                #Install aws sdk and file encryptor module                npm install aws-sdk                npm install file-encryptor                npm install file-system --save              
                //to encrypt files
var encryptor = require('file-encryptor');
//to read the file
var fs = require('fs');
//to upload, delete and download from s3 bucket
var AWS = require('aws-sdk/dist/aws-sdk-react-native');

biscoeregald.blogspot.com

Source: https://javascript.plainenglish.io/uploading-encrypted-files-in-aws-s3-bucket-with-nodejs-app-c28b7fef1779

Post a Comment for "Java Code to Encrypt Upload a File to S3"