Documentation

Granting S3 Access

Abstract

SummaryHow to grant Alooma access to your S3 bucket by adding a policy.

To grant Alooma access to your S3 bucket, you'll need to add the following policy to the bucket, substituting the correct values for the <bucket-name> and <principal> placeholders. Once the policy is in place, you can create the output.

Copy
{
    "Id": "AloomaS3Policy",
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AloomaObjectsStatement",
            "Action": [
                "s3:DeleteObject",
                "s3:DeleteObjectVersion",
                "s3:GetObject",
                "s3:GetObjectVersion",
                "s3:PutObject"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:s3:::<bucket-name>/*",
            "Principal": {
                <principal>
            }
        },
        {
            "Sid": "AloomaBucketsStatement",
            "Action": [
                "s3:ListBucket",
                "s3:GetBucketLocation"
            ],
            "Effect": "Allow",
            "Resource": "arn:aws:s3:::<bucket-name>",
            "Principal": {
                   <principal>
            }
        }
    ]
}

Now that you have added the policy, you can move on to creating the output.

Search results

    No results found