mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Add content-sha256 as a default allowed STS header (#10009)
Also, alphabetize those headers... just because.
This commit is contained in:
@@ -20,10 +20,11 @@ import (
|
||||
const amzHeaderPrefix = "X-Amz-"
|
||||
|
||||
var defaultAllowedSTSRequestHeaders = []string{
|
||||
"X-Amz-Date",
|
||||
"X-Amz-Credential",
|
||||
"X-Amz-Security-Token",
|
||||
"X-Amz-Algorithm",
|
||||
"X-Amz-Content-Sha256",
|
||||
"X-Amz-Credential",
|
||||
"X-Amz-Date",
|
||||
"X-Amz-Security-Token",
|
||||
"X-Amz-Signature",
|
||||
"X-Amz-SignedHeaders"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user