Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for permitRootAccess (0.15 sec)

  1. cmd/jwt.go

    			if cred.IsTemp() && cred.IsExpired() {
    				return nil, errInvalidAccessKeyID
    			}
    			return []byte(cred.SecretKey), nil
    		} // this means claims.AccessKey == rootAccessKey
    		if !globalAPIConfig.permitRootAccess() {
    			// if root access is disabled, fail this request.
    			return nil, errAccessKeyDisabled
    		}
    		return []byte(globalActiveCred.SecretKey), nil
    	}); err != nil {
    		return claims, nil, false, errAuthentication
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top