mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
de4d3dac00
* Added tests for bucket access policies Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io> * move to correct category of tests Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io> --------- Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
18 lines
439 B
JSON
18 lines
439 B
JSON
{
|
|
"Version":"2012-10-17",
|
|
"Id":"PutObjectPolicy1",
|
|
"Statement":[{
|
|
"Sid":"DenyObjectsWithInvalidSSEKMS",
|
|
"Effect":"Deny",
|
|
"Principal":"*",
|
|
"Action":"s3:PutObject",
|
|
"Resource":"arn:aws:s3:::multi-key-poc/*",
|
|
"Condition":{
|
|
"StringNotEquals":{
|
|
"s3:x-amz-server-side-encryption-aws-kms-key-id":"minio-default-key"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|