Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save maskaravivek/0e2ff588b203ffd1fefccf6bde1d3ed6 to your computer and use it in GitHub Desktop.
Save maskaravivek/0e2ff588b203ffd1fefccf6bde1d3ed6 to your computer and use it in GitHub Desktop.
// config.js
const AWS = require('aws-sdk');
AWS.config.update({
accessKeyId: 'YOUR_ACCESS_KEY',
secretAccessKey: 'YOUR_SECRET_ACCESS_KEY'
});
module.exports = new AWS.S3();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment