StorageGRID x-amz-content-sha256 REST API サポート
環境
NetApp StorageGRID
問題
条件 x-amz-content-sha256 を参照しながら S3 API PutBucketPolicy を試みると、
Invalid Policy errorが返されます。 An error occurred(MalformedPolicy) when calling the PutBucketPolicy operation: Invalid Policy:Policy condition key not supported yet: s3:x-amz-content-sha256
JSONポリシー:
{ "Version": "2012-10-17", "Statement": [ { "Sid": "EnforceSHA256Checksum", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::ark-dev/*", "Condition": { "Null": { "s3:x-amz-content-sha256": true } } } ] }