- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkKeyValid (0.11 sec)
-
cmd/signature-v4-parser.go
return auth.Credentials{}, false, ErrMissingFields } ch, s3Err = parseCredentialHeader(authFields[0], region, stype) if s3Err != ErrNone { return auth.Credentials{}, false, s3Err } } return checkKeyValid(r, ch.accessKey) } // parse credentialHeader string into its structured form. func parseCredentialHeader(credElement string, region string, stype serviceType) (ch credentialHeader, aec APIErrorCode) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/signature-v4-utils.go
reqRegion = globalMinioDefaultRegion } return reqRegion == confRegion } // check if the access key is valid and recognized, additionally // also returns if the access key is owner/admin. func checkKeyValid(r *http.Request, accessKey string) (auth.Credentials, bool, APIErrorCode) { cred := globalActiveCred if cred.AccessKey != accessKey { if !globalIAMSys.Initialized() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0)