filmov
tv
17 - AWS S3 ACL vs Bucket Policy vs IAM - AWS Certified Solutions Architect Associate SAA C02
Показать описание
Three types of Security options are available for S3 in AWS
ACL – used for individual objects
Bucket Policy – used for full bucket
IAM – used per user or service
Policy One: Grant Public access to all objects in the bucket:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::360cloudbucketlcm001/*"
}
]
}
****************************************************
please to change the bucket name from "360cloudbucketlcm001" to your own bucket
Subscribe to:
ACL – used for individual objects
Bucket Policy – used for full bucket
IAM – used per user or service
Policy One: Grant Public access to all objects in the bucket:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::360cloudbucketlcm001/*"
}
]
}
****************************************************
please to change the bucket name from "360cloudbucketlcm001" to your own bucket
Subscribe to: