Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Bloque de código
languagejson
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "deny-public-create-delete-objects",
            "Effect": "Deny",
            "Principal": {
                "AWS": "*"
            },
            "Action": [
                "s3:DeleteObject",
                "s3:PutObject"
            ],
            "Resource": "arn:aws:s3:::{{BUTCKET-NAME}}/*",
            "Condition": {
                "ForAnyValue:ArnNotEquals": {
                    "aws:PrincipalArn": [
                        "arn:aws:iam::{{ARN-NUMBER}}:user/{{USER-NAME}}"
                    ]
                }
            }
        },
        {
            "Sid": "deny-public-bucket-access",
            "Effect": "Deny",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:ListBucket",
            "Resource": "arn:aws:s3:::{{BUTCKET-NAME}}",
            "Condition": {
                "ForAnyValue:ArnNotEquals": {
                    "aws:PrincipalArn": [
                        "arn:aws:iam::{{ARN-NUMBER}}:user/{{USER-NAME}}"
                    ]
                }
            }
        },
        {
            "Sid": "allow-public-get-objects",
            "Effect": "Allow",
            "Principal": {
                "AWS": "*"
            },
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::{{BUTCKET-NAME}}/*"
        }
    ]
}

Once you have configured AWS S3, you will be able to verify the correct integration from the plugin.

...

If an error occurs, you will receive a detailed message explaining the cause of it.

...