Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Lambda function for decrypting pgp encrypted files on sftp


Level 2

I am trying to decrypt the file on sftp using lambda function, but not getting the exact code and steps to use in lambda functions to decrypt and download the file on sftp?


Has someone ever tried this ?

1 Reply


Level 2

Hello @pushpadubey031,



Please check the below article. There it explain to how encrypt file with PGP using lambda handler. 

I think, it would help you to understand to write code  and steps to decrypting a PGP file.  

How To PGP Encrypt An S3 File Using AWS Lambda Running Docker Images | Rahul Nath (