VK
Size: a a a
VK
PD
PD
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {"AWS": ["arn:aws:iam::usfolks:user/fred:subuser"]},
"Action": "s3:PutObjectAcl",
"Resource": [
"arn:aws:s3:::happybucket/*"
]
}]
}
PD
PD
usfolks
PD
VK
PD
E
{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {"AWS": ["arn:aws:iam:::user/rgw-user1"]},
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::user1-bucket1/*"
]
},
{
"Effect": "Allow",
"Principal": {"AWS": ["arn:aws:iam:::user/rgw-user2"]},
"Action": ["s3:PutObject","s3:GetObject"],
"Resource": [
"arn:aws:s3:::user1-bucket1/*"
]
}]
}
E
DP
IF
arn:aws:s3::вроде_здесь_указывается_тенант:user1-bucket1/*
DP
IF
IF
"Principal": {
"AWS": [
"arn:aws:iam::prod:user/infas"
]
},
E
We use the RGW ‘tenant’ identifier in place of the Amazon twelve-digit account ID. In the future we may allow you to assign an account ID to a tenant, but for now if you want to use policies between AWS S3 and RGW S3 you will have to use the Amazon account ID as the tenant ID when creating users.
PD