Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustCreateIAMUser (0.08 sec)

  1. cmd/admin-handlers-users_test.go

    	// This is possible because the policy enforced in the plugin.
    	c.mustCreateSvcAccount(ctx, globalActiveCred.AccessKey, userAdmClient)
    }
    
    func (c *check) mustCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) madmin.Credentials {
    	c.Helper()
    	randUser := mustGetUUID()
    	randPass := mustGetUUID()
    	err := admClnt.AddUser(ctx, randUser, randPass)
    	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

       "Action": [
        "admin:*"
       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	cr := c.mustCreateIAMUser(ctx, userAdmClient)
    
    	userInfo := c.mustGetIAMUserInfo(ctx, userAdmClient, cr.AccessKey)
    	c.Assert(userInfo.Status, madmin.AccountEnabled)
    }
    
    func (s *TestSuiteIAM) TestOpenIDServiceAcc(c *check) {
    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