AWS Bucket Policy to be used for the below requirements.
- Grant access of S3 Bucket to other AWS account.
- Restrict access to List and Download objects from it, nothing more nothing extra.
Script to extract yesterday date
{ "Sid": "Allow Bucket Read access from below AWS accounts",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::123456789012:root",
"arn:aws:iam::121314151617:root",
"arn:aws:iam::181912021222:root"
]
},
"Action": [
"s3:Get*",
"s3:List*"
],
"Resource": "arn:aws:s3:::cyberkeeda-limited-access-bucket/*"
}
]
})
{
"Sid": "Allow Bucket Read access from below AWS accounts",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::123456789012:root",
"arn:aws:iam::121314151617:root",
"arn:aws:iam::181912021222:root"
]
},
"Action": [
"s3:Get*",
"s3:List*"
],
"Resource": "arn:aws:s3:::cyberkeeda-limited-access-bucket/*"
}
]
})Hope this snippet, helps you !
Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. scum buckets
ReplyDeletePositive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. Scumbucket
ReplyDeleteThis is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Scum buckets
ReplyDeleteIt was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing. Scumbuckets
ReplyDeletehttps://saglamproxy.com
ReplyDeletemetin2 proxy
proxy satın al
knight online proxy
mobil proxy satın al
Q5QLM