Open Fauphi opened 6 years ago
I'm using temporary credentials and it works^ (although I'm hitting other issues)
when creating the policy:
Slingshot.createDirective('directiveName', Slingshot.S3Storage.TempCredentials, {
region: "YOURREGION",
bucket: "YOURBUCKETNAME",
[HERE NOT PASS AWSAccessKeyId PROP]
temporaryCredentials: Meteor.wrapAsync(function (expire, callback) {
...put credentials in settings.json.
"AWS": {
"AccessKeyId": "YOURKEYHERE",
"SecretAccessKey": "YOURSECRETACCESSKEY"
},
This resolves your error.
Is there an updated status on this, I'm still getting the same issue. I do not have my keys in createDirective, I do have them in settings
I get this error when trying to create a directive with temporary credentials. Is this functionality deprecated? (it is still in the docs)