Its about AWS-MediaStore service.
Try to add policy on user side:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AWSElementalMediaStoreGetAccess",
"Effect": "Allow",
"Action": "mediastore:GetObject",
"Resource": "*"
}
]
}
And for container side:
{
"Version" : "2012-10-17",
"Statement" : [ {
"Sid" : "MediaStorePostToSpecificPath",
"Effect" : "Allow",
"Principal" : {
"AWS" : "arn:aws:iam::CENSORED:root"
},
"Action" : "mediastore:PutObject",
"Resource" : "arn:aws:mediastore:eu-central-1:CENSORED:container/test/path1/*",
"Condition" : {
"Bool" : {
"aws:SecureTransport" : "true"
}
}
} ]
}
But Post into Path1
tells me that Access Denied.
Is it possible to setup policy that can provide PutObject for User into defined folder?