feat(objectnode): s3 sts and signature auth

1. sts federation token
2. signature auth code refactor

Signed-off-by: yhjiango <jiangyunhua@oppo.com>

(cherry picked from commit 4401624f96)
Signed-off-by: yhjiango <jiangyunhua@oppo.com>
This commit is contained in:
yhjiango 2023-05-23 19:11:18 +08:00 committed by longerfly
parent 7c08fedcd8
commit 46246c4768

View File

@ -31,9 +31,10 @@ const (
ContextKeyErrorMessage = "error_message"
ContextKeyBucket = "bucket"
ContextKeyObject = "object"
ContextKeyUid = "uid"
ContextKeyAccessKey = "access_key"
ContextKeyRequester = "requester"
ContextKeyOwner = "owner"
ContextKeyAccessKey = "access_key"
)
func SetRequestID(r *http.Request, requestID string) {