- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AccountEnabled (0.05 sec)
-
cmd/admin-handlers-users_test.go
defer cancel() // 1. Create a user. accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } // 2. Check new user appears in listing usersMap, err := s.adm.ListUsers(ctx) if err != nil { c.Fatalf("error listing: %v", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
if err != nil { t.Fatalf("unable create credential, %s", err) } _, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{ SecretKey: ucreds.SecretKey, Status: madmin.AccountEnabled, }) if err != nil { t.Fatalf("unable create credential, %s", err) } _, owner, s3Err = checkKeyValid(req, ucreds.AccessKey) if s3Err != ErrNone {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/kms-handlers_test.go
func setupKMSUser(t *testing.T, accessKey, secretKey, p string) { ctx := context.Background() createUserParams := madmin.AddOrUpdateUserReq{ SecretKey: secretKey, Status: madmin.AccountEnabled, } _, err := globalIAMSys.CreateUser(ctx, accessKey, createUserParams) if err != nil { t.Fatal(err) } testKMSPolicyName := "testKMSPolicy" if p != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 22.3K bytes - Viewed (0)