mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
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:
parent
6922da8960
commit
aa391f63a6
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user