Fix: Now supports AWS signature version 4. (#949)

* intial commiy

* cleaning code

* added makeCredential to s3.js and removed extra module dependecy

* lint fixes

* minor fix

* minor fixes

* changed encoding type from string to any

* added new env var to env.sample
This commit is contained in:
Himanshu Agarwal
2019-06-19 13:03:38 +05:30
committed by Tom Moor
parent ebd9535cb4
commit 0079593446
4 changed files with 50 additions and 13 deletions

View File

@@ -37,6 +37,7 @@ GITHUB_ACCESS_TOKEN=
# AWS credentials (optional in dev)
AWS_ACCESS_KEY_ID=notcheckedindev
AWS_SECRET_ACCESS_KEY=notcheckedindev
AWS_REGION=ap-xxxxx-1
AWS_S3_UPLOAD_BUCKET_URL=http://s3:4569
AWS_S3_UPLOAD_BUCKET_NAME=outline-dev
AWS_S3_UPLOAD_MAX_SIZE=26214400