Skip to content

zahidmzhmm/aws-s3-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARN:
arn:aws:iam:::user/test-app Bucket Name:
app.name
IAM KEY:

IAM SECRET:
***
Bucket Policy

{
    "Version": "2012-10-17",
    "Id": "Policy123456789",
    "Statement": [
        {
            "Sid": "Stmt123456789",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::***:user/test-app"
            },
            "Action": [
                "s3:ListBucket",
                "s3:ListBucketVersions",
                "s3:GetBucketLocation",
                "s3:Get*",
                "s3:Put*"
            ],
            "Resource": "arn:aws:s3:::app.name"
        }
    ]
}

New inline policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListAllMyBuckets",
                "s3:PutObject",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::*"
            ]
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages