Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for creg (0.05 sec)

  1. docs/es/docs/tutorial/first-steps.md

    `FastAPI` es una clase que hereda directamente de `Starlette`.
    
    También puedes usar toda la funcionalidad de <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>.
    
    ///
    
    ### Paso 2: crea un "instance" de `FastAPI`
    
    ```Python hl_lines="3"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Aquí la variable `app` será un instance de la clase `FastAPI`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	// account or STS account):
    	requestorUser := cred.AccessKey
    	requestorParentUser := cred.AccessKey
    	requestorGroups := cred.Groups
    	requestorIsDerivedCredential := false
    	if cred.IsServiceAccount() || cred.IsTemp() {
    		requestorParentUser = cred.ParentUser
    		requestorIsDerivedCredential = true
    	}
    
    	if globalIAMSys.GetUsersSysType() == MinIOUsersSysType && targetUser != cred.AccessKey {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/server-startup-msg.go

    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Startup(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Startup(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    		if region != "" {
    			logger.Startup(color.Blue("   Region: ") + color.Bold("%s", fmt.Sprintf(getFormatStr(len(region), 2), region)))
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 23 14:11:35 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    func mustNewSignedRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    	cred, _, s3Err := checkKeyValid(r, credHeader.accessKey)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    
    	// Get signing key.
    	signingKey := getSigningKey(cred.SecretKey, credHeader.scope.date, credHeader.scope.region, serviceS3)
    
    	// Get signature.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. internal/auth/credentials.go

    }
    
    func (cred Credentials) String() string {
    	var s strings.Builder
    	s.WriteString(cred.AccessKey)
    	s.WriteString(":")
    	s.WriteString(cred.SecretKey)
    	if cred.SessionToken != "" {
    		s.WriteString("\n")
    		s.WriteString(cred.SessionToken)
    	}
    	if !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel) {
    		s.WriteString("\n")
    		s.WriteString(cred.Expiration.String())
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    	extractedSignedHeaders, errCode := extractSignedHeaders(signV4Values.SignedHeaders, r)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	cred, _, errCode = checkKeyValid(r, signV4Values.Credential.accessKey)
    	if errCode != ErrNone {
    		return cred, "", "", time.Time{}, errCode
    	}
    
    	// Verify if region is valid.
    	region = signV4Values.Credential.scope.region
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    	s3Err = authenticateRequest(ctx, r, action)
    	reqInfo := logger.GetReqInfo(ctx)
    	if reqInfo == nil {
    		return cred, owner, ErrAccessDenied
    	}
    
    	cred = reqInfo.Cred
    	owner = reqInfo.Owner
    	if s3Err != ErrNone {
    		return cred, owner, s3Err
    	}
    
    	return cred, owner, authorizeRequest(ctx, r, action)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. internal/auth/credentials_test.go

    	}
    	testCases := []struct {
    		cred           Credentials
    		ccred          Credentials
    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    	// Find the user for the request sender (as it may be sent via a service
    	// account or STS account):
    	requestorUser := cred.AccessKey
    	requestorParentUser := cred.AccessKey
    	requestorGroups := cred.Groups
    	requestorIsDerivedCredential := false
    	if cred.IsServiceAccount() || cred.IsTemp() {
    		requestorParentUser = cred.ParentUser
    		requestorIsDerivedCredential = true
    	}
    
    	// Check if we are creating svc account for request sender.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top