Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for targetUser (0.16 sec)

  1. cmd/admin-handlers-idp-ldap.go

    	// Check if we are creating svc account for request sender.
    	isSvcAccForRequestor := false
    	if targetUser == requestorUser || targetUser == requestorParentUser {
    		isSvcAccForRequestor = true
    	}
    
    	var (
    		targetGroups []string
    		err          error
    	)
    
    	// If we are creating svc account for request sender, ensure that targetUser
    	// is a real user (i.e. not derived credentials).
    	if isSvcAccForRequestor {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	}
    	// If the request did not set a TargetUser, the service account is
    	// created for the request sender.
    	targetUser := createReq.TargetUser
    	if targetUser == "" {
    		targetUser = cred.AccessKey
    	}
    
    	description := createReq.Description
    	if description == "" {
    		description = createReq.Comment
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    		TargetUser: tgtUser,
    	})
    	if err != nil {
    		c.Fatalf("user should be able to create service accounts %s", err)
    	}
    	return cr
    }
    
    func (c *check) mustNotCreateSvcAccount(ctx context.Context, tgtUser string, admClnt *madmin.AdminClient) {
    	c.Helper()
    	_, err := admClnt.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    		TargetUser: tgtUser,
    	})
    	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)
  4. cmd/sts-handlers_test.go

       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket))
    		cr, err := userAdmClient.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    			Policy:     policyBytes,
    			TargetUser: value.AccessKeyID,
    			AccessKey:  svcAK,
    			SecretKey:  svcSK,
    		})
    		if err != nil {
    			c.Fatalf("Unable to create svc acc: %v", err)
    		}
    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