Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for acct (0.26 sec)

  1. cmd/admin-handlers-users_test.go

    		SecretKey:  svcSK,
    	})
    	if err != nil {
    		c.Fatalf("Unable to create svc acc: %v", err)
    	}
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    	c.mustListObjects(ctx, svcClient, bucket)
    
    	err = madmClient.DeleteServiceAccount(ctx, svcAK)
    	if err != nil {
    		c.Fatalf("unable to delete svc acc: %v", err)
    	}
    	c.mustNotListObjects(ctx, svcClient, bucket)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	}
    	if objectAPI == nil {
    		return
    	}
    
    	// Notify all other MinIO peers signal service.
    	srvResult := serviceResult{Action: act, Results: []servicePeerResult{}}
    
    	process := act == madmin.ServiceActionRestart || act == madmin.ServiceActionStop
    	if process {
    		localhost := globalLocalNodeName
    		if globalLocalNodeName == "" {
    			localhost = "127.0.0.1"
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  3. cmd/admin-handlers-users.go

    					}
    				}
    				svcAccts[user] = madmin.SRSvcAccCreate{
    					Parent:        acc.Credentials.ParentUser,
    					AccessKey:     user,
    					SecretKey:     acc.Credentials.SecretKey,
    					Groups:        acc.Credentials.Groups,
    					Claims:        claims,
    					SessionPolicy: json.RawMessage(policyJSON),
    					Status:        acc.Credentials.Status,
    					Name:          sa.Name,
    					Description:   sa.Description,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  4. internal/dsync/dsync_test.go

    	m := NewDRWMutex(ds, "")
    	var acc0, acc1 uint64
    	b.SetParallelism(4)
    	b.RunParallel(func(pb *testing.PB) {
    		c := make(chan bool)
    		var data [4 << 10]uint64
    		for i := 0; pb.Next(); i++ {
    			if i%4 == 0 {
    				m.Lock(id, source)
    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(context.Background())
    			} else {
    				for i := 0; i < len(data); i += 4 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    						Parent:        acc.Credentials.ParentUser,
    						AccessKey:     user,
    						SecretKey:     acc.Credentials.SecretKey,
    						Groups:        acc.Credentials.Groups,
    						Claims:        claims,
    						SessionPolicy: json.RawMessage(policyJSON),
    						Status:        acc.Credentials.Status,
    						Name:          acc.Credentials.Name,
    						Description:   acc.Credentials.Description,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  6. cmd/metacache-server-pool.go

    		if err != nil {
    			return
    		}
    		objInfo := fi.ToObjectInfo(o.Bucket, obj.name, versioned)
    		if o.Lifecycle != nil {
    			act := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, o.Replication.Config, objInfo).Action
    			skip = act.Delete() && !act.DeleteRestored()
    		}
    	}
    
    	fiv, err := obj.fileInfoVersions(o.Bucket)
    	if err != nil {
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return updatedAt, errors.New("unknown account status value")
    	}
    
    	m, err := getClaimsFromTokenWithSecret(cr.SessionToken, currentSecretKey)
    	if err != nil {
    		return updatedAt, fmt.Errorf("unable to get svc acc claims: %v", err)
    	}
    
    	// Extracted session policy name string can be removed as its not useful
    	// at this point.
    	delete(m, sessionPolicyNameExtracted)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/xl-storage-disk-id-check.go

    			e.mu.Lock()
    			e.lastMinuteLatency.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    			// We may be able to grab the new accumulator by yielding.
    			runtime.Gosched()
    			acc = e.cached.Load()
    		}
    	}
    	atomic.AddInt64(&acc.N, 1)
    	atomic.AddInt64(&acc.Total, int64(value))
    	atomic.AddInt64(&acc.Size, sz)
    }
    
    // total returns the total call count and latency for the last minute.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    		Secure: s.secure,
    	})
    	if err != nil {
    		c.Fatalf("Err creating user admin client: %v", err)
    	}
    	userAdmClient.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    	svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    
    	// 1. Check S3 access for service account ListObjects()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    	if !sys.Initialized() {
    		return UserIdentity{}, nil, errServerNotInitialized
    	}
    
    	acc, ok := sys.store.GetUser(accessKey)
    	if !ok {
    		return UserIdentity{}, nil, errNoSuchAccount
    	}
    
    	jwtClaims, err := extractJWTClaims(acc)
    	if err != nil {
    		return UserIdentity{}, nil, err
    	}
    
    	return acc, jwtClaims, nil
    }
    
    // GetClaimsForSvcAcc - gets the claims associated with the service account.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top