StorageGRID x-amz-content-sha256 REST API supportability
- Views:
- 26
- Visibility:
- Public
- Votes:
- 0
- Category:
- storagegrid-webscale
- Specialty:
- sgrid
- Last Updated:
- 2/13/2025, 1:42:11 PM
Applies to
NetApp StorageGRID 11.9 and earlier
Issue
When attempting S3 API PutBucketPolicy while referencing condition x-amz-content-sha256 returns an 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 policy:
{ "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 } } } ] }