diff --git a/README.md b/README.md index 40a5b5a..db65d0e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,54 @@ ## Polyphonic -A simple web app for managing video uploads to an S3 bucket for virtual ensembles. \ No newline at end of file +A simple web app for managing video uploads to an S3 bucket for virtual ensembles. + +### S3 Setup + +#### Bucket setup [virtual-orchestra] +Default block public access + +Permissions -> CORS +```xml + + + + https://polyphonic.mydomain.com + PUT + POST + DELETE + Location + * + + + * + GET + + +``` + +User +Create with programatic access (copy keys) and an inline policy for the bucket. +```json +{ + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ + "s3:ListBucket" + ], + "Resource": "arn:aws:s3:::virtual-orchestra" + }, + { + "Effect": "Allow", + "Action": [ + "s3:PutObject", + "s3:GetObject" + ], + "Resource": "arn:aws:s3:::virtual-orchestra/*" + } + ] +} +``` + +3. \ No newline at end of file