fix(auth): align signed request and policy condition semantics

Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-09-11 16:24:42 +08:00
parent f760046c44
commit 87d8b5967f
8 changed files with 412 additions and 47 deletions
-5
View File
@@ -132,11 +132,6 @@ const (
AmzMaxParts = "X-Amz-Max-Parts"
AmzPartNumberMarker = "X-Amz-Part-Number-Marker"
// AmzSignatureAge is an internal scratch header the presigned verifier
// writes after validating the signature so that bucket-policy evaluation can
// expose s3:signatureAge. It is never sent or signed by a client.
AmzSignatureAge = "X-Amz-Signature-Age"
// Constants used for GetObjectAttributes and GetObjectVersionAttributes
AmzObjectAttributes = "X-Amz-Object-Attributes"