Adding Permissions on S3 Bucket : Bucket Policy | Scribe

    Adding Permissions on S3 Bucket : Bucket Policy

    • Sri Durgesh |
    • 17 steps |
    • 2 minutes
    1
    Navigate to [https://us-east-1.console.aws.amazon.com/s3/buckets?region=us-east-1&bucketType=general&region=us-east-1](https://us-east-1.console.aws.amazon.com/s3/buckets?region=us-east-1&bucketType=general&region=us-east-1)
    2
    Click "ecommerce-webapp"
    3
    Click "Permissions"
    4
    Click "Edit"
    5
    Click "Policy generator"
    6
    Click this dropdown and Select "S3 Bucket Policy".
    7
    Click the "Principal" field. Type "\*"
    8
    In Actions field, click the "GetObject" field.
    9
    Click the "PutObject" field.
    10
    Now for the "Amazon Resource Name (ARN)" field.
    11
    Return to the Edit bucket policy page and copy the displayed ARN.
    12
    Type "/\*" at end of the ARN. here (arn:aws:s3:::ecommerce-webapp/\*)
    13
    This is the overview of the generator page.
    14
    Click on "Add Statement" button.
    15
    Click "Generate Policy"
    16
    copy this policy and close.
    17
    After pasting that policy, click on "Save changes"