Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for permitRootAccess (0.09 sec)

  1. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	return t.enableODirect
    }
    
    func (t *apiConfig) shouldGzipObjects() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.gzipObjects
    }
    
    func (t *apiConfig) permitRootAccess() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.rootAccess
    }
    
    func (t *apiConfig) getListQuorum() string {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.listQuorum == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/perf-tests.go

    		UserMetadata:         userMetadata,
    		DisableContentSha256: !opts.enableSha256,
    		DisableMultipart:     !opts.enableMultipart,
    	}
    
    	clnt := globalMinioClient
    	if !globalAPIConfig.permitRootAccess() {
    		region := globalSite.Region()
    		if region == "" {
    			region = "us-east-1"
    		}
    		clnt, err = minio.New(globalLocalNodeName, &minio.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/config-current.go

    // a KMS is configured, no manual credentials have been specified and if root
    // access is disabled.
    func autoGenerateRootCredentials() {
    	if GlobalKMS == nil {
    		return
    	}
    	if globalAPIConfig.permitRootAccess() || !globalActiveCred.Equal(auth.DefaultCredentials) {
    		return
    	}
    
    	aKey, err := GlobalKMS.MAC(GlobalContext, &kms.MACRequest{Message: []byte("root access key")})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top