higlass / higlass/higlass-docker

script for bucket creation and priv setting

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
34
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Getting the policy right on an s3 bucket is twiddly. Make a script to make sure it gets set correctly. Something to being with:
```
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::testing.higlass.gehlenborglab.org/*"
},
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::testing.higlass.gehlenborglab.org"
},
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::testing.higlass.gehlenborglab.org/*"
}
]
}
```
... but it shouldn't be world writable in the long run.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.