【发布时间】:2018-01-20 23:02:07
【问题描述】:
我正在尝试使用 Meteor、CollectionFS 和 S3 来存储文件。我设置我的存储桶,设置密钥 ID 和密钥,并配置 store.S3,如下所示:
var fileStore = new FS.Store.S3('files', {
bucket: Meteor.settings.public.storage.bucket
});
但是,每当我尝试上传文件时,我都会收到:
Error storing file to the files store: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
有没有办法使用 CollectionFS 设置签名版本/授权机制?
【问题讨论】:
-
使用
Meteor-Files。这是有据可查的。这是 S3 集成文档:github.com/VeliovGroup/Meteor-Files/wiki/AWS-S3-Integration
标签: meteor amazon-s3 collectionfs