Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustCreateSvcAccount (0.44 sec)

  1. cmd/admin-handlers-users_test.go

    		Policies: []string{policy2},
    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    
    	// 3.3 check user can create service account implicitly.
    	c.mustCreateSvcAccount(ctx, accessKey, admClnt)
    
    	_, ok = ps[policy2]
    	if !ok {
    		c.Fatalf("policy was missing!")
    	}
    
    	err = s.adm.RemoveUser(ctx, accessKey)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. 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()
    	c.mustListObjects(ctx, svcClient, bucket)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top