0
我正在嘗試使用Meteor,CollectionFS和S3來存儲文件。設置我的水桶,設置密鑰ID和祕密,並配置store.S3如下:在S3上使用CollectionFS存儲文件
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設置簽名版本/授權機制的任何方式?
使用'流星文件'。它有據可查。以下是S3集成文檔:https://github.com/VeliovGroup/Meteor-Files/wiki/AWS-S3-Integration –