Skip to content

Commit 18635b8

Browse files
authored
Add X-Amz-Server-Side-Encryption-Context header to required signed headers allowlist (#2228)
1 parent 4682b6a commit 18635b8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "81f52efa-8430-4344-8ea6-2016b7471af7",
3+
"type": "bugfix",
4+
"description": "Sign `X-Amz-Server-Side-Encryption-Context` header to fix signing for PutObject requests that set `SSEKMSEncryptionContext`.",
5+
"modules": [
6+
"."
7+
]
8+
}

aws/signer/internal/v4/headers.go

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ var RequiredSignedHeaders = Rules{
4848
"X-Amz-Request-Payer": struct{}{},
4949
"X-Amz-Server-Side-Encryption": struct{}{},
5050
"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": struct{}{},
51+
"X-Amz-Server-Side-Encryption-Context": struct{}{},
5152
"X-Amz-Server-Side-Encryption-Customer-Algorithm": struct{}{},
5253
"X-Amz-Server-Side-Encryption-Customer-Key": struct{}{},
5354
"X-Amz-Server-Side-Encryption-Customer-Key-Md5": struct{}{},

0 commit comments

Comments
 (0)