skip to Main Content

Connect to AWS S3 bucket from Nodejs app ( persistent connection required)

I have nodejs/express app from which I want to connect to AWS S3. I do have a temporary approach to make connection, environment file aws_access_key_id=XXX aws_secret_access_key=XXXX/ aws_session_token=xxxxxxxxxxxxxxxxxxxxxxxxxx S3-connection-service.js const AWS = require("aws-sdk"); AWS.config.update({ accessKeyId: `${process.env.aws_access_key_id}`, secretAccessKey: `${process.env.aws_secret_access_key}`, sessionToken: `${process.env.aws_session_token}`, region:…

VIEW QUESTION
Back To Top
Search