multicolour-storage-s3
v0.1.2
Published
Amazon S3 storage for media plugin for Multicolour
Downloads
1
Readme
multicolour-storage-S3
S3 Storage provider plugin for Multicolour, upload files to and retrieve files from Amazon's S3 service.
You can login manually; like below, we don't recommend hardcoding values in scripts and highly recommend setting AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
in your environment instead.
// Configure our service.
const my_service = require("multicolour")
// Configure the service core and scan for content.
.new_from_config_file_path("./config.js")
.scan()
// Register the server plugin.
my_service.start.use(require("multicolour-storage-s3"))
.request("storage")
.login({
accessKeyId: "",
secretAccessKey: ""
})
// Start the service.
my_service.start()