The following policy can be attached to an IAM group. It lets an IAM user in that group access a "home directory" in AWS S3 that matches their user name using the console.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": ["s3:*"],
"Effect": "Allow",
"Resource": ["arn:aws:s3:::bucket-name"],
"Condition":{"StringLike":{"s3:prefix":["home/${aws:username}/*"]}}
},
{
"Action":["s3:*"],
"Effect":"Allow",
"Resource": ["arn:aws:s3:::bucket-name/home/${aws:username}/*"]
}
]
}
Moon
Highly Voted 2 years, 11 months agofw
2 years, 11 months agonitinz
2 years, 10 months agocldy
2 years, 10 months agosarah1
2 years, 11 months agoFAB1975
1 year, 11 months agotan9
Highly Voted 2 years, 11 months agoMusk
2 years, 11 months agoamministrazione
Most Recent 3 weeks, 2 days agoNarendragpt
1 month, 3 weeks agoSkyZeroZx
1 year, 3 months agosjpd10
1 year, 10 months agoroka_ua
2 years, 5 months agotkanmani76
2 years, 8 months agoRVivek
2 years, 8 months agotkanmani76
2 years, 7 months ago01037
2 years, 10 months agocldy
2 years, 10 months agoshammous
8 months agosrknbngl
2 years, 10 months agofullaws
2 years, 10 months agonoisonnoiton
2 years, 10 months agoawssp12345
2 years, 11 months agoBillyC
2 years, 11 months agoamog
2 years, 11 months agoDanao
2 years, 11 months ago