Commit 447c605f by Stephen Sanchez

Merge pull request #612 from edx/sanchez/update_fileupload_docs

Updating the FileUpload documentation
parents 8fc51065 0de0bc0a
...@@ -55,3 +55,34 @@ and GET requests to be performed across request origins. To do so, you must: ...@@ -55,3 +55,34 @@ and GET requests to be performed across request origins. To do so, you must:
<AllowedMethod>GET</AllowedMethod> <AllowedMethod>GET</AllowedMethod>
</CORSRule> </CORSRule>
</CORSConfiguration> </CORSConfiguration>
Note that you must configure an IAM user and role for access to your S3 bucket.
1. From Amazon AWS, select services, IAM.
2. Select Groups
3. Create a new 'upload' group.
4. This new group will require a policy. The following is a lenient upload
policy for S3:
.. code-block:: json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1403207543000",
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"*"
]
}
]
}
5. Create a new User, add this user to the new 'upload' Group. Choose to
generate a new access key for this user.
6. This new access key must be used in the settings described above:
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment