-
Notifications
You must be signed in to change notification settings - Fork 217
Allow credentials instead of key/secret for the S3 store
#282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow credentials instead of key/secret for the S3 store
#282
Conversation
Removed/commented assert code on S3 store to have an option to use AWS.ECSCredentials
Modified declaration for S3StoreOptions
…ials is present on options on S3Store
…etAccessKey' optional and add new property 'credentials'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks the PR!
Couple things, and we should also add documentation to let users know this is supported.
credentials instead of key/secret for the S3 store
Murderlon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. I would like the test this functionality too in some test before merging I think. I'm not sure yet though what it takes to write a test for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Credentials is not correct (it doesn't have httpOptions and such) and something went wrong with your copy paste of my docs suggestion I think because it has unfinished sentences:
The
credentialsconfig is directly passed into the AWS SDK so.)
Lastly, I don't think it's possible to write a test for this because tus-node-server would need to be inside a container?
After this, I think we're ready to merge :)
|
Thanks for all the changes! I'm holding this off for #309, which is now being worked on the |
No description provided.