Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ListServiceAccounts (0.29 sec)

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

    	}
    
    	listType := r.Form.Get("listType")
    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    		listServiceAccounts = false
    	case madmin.AccessKeyListSvcaccOnly:
    		listSTSKeys = false
    		listServiceAccounts = true
    	case madmin.AccessKeyListAll:
    		listSTSKeys = true
    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

    	listType := r.Form.Get("listType")
    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    		listServiceAccounts = false
    	case madmin.AccessKeyListSvcaccOnly:
    		listSTSKeys = false
    		listServiceAccounts = true
    	case madmin.AccessKeyListAll:
    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/iam.go

    	return updatedAt, nil
    }
    
    // ListServiceAccounts - lists all service accounts associated to a specific user
    func (sys *IAMSys) ListServiceAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListServiceAccounts(ctx, accessKey)
    	case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-service-accounts").HandlerFunc(adminMiddleware(adminAPI.ListServiceAccounts))
    		adminRouter.Methods(http.MethodDelete).Path(adminVersion+"/delete-service-account").HandlerFunc(adminMiddleware(adminAPI.DeleteServiceAccount)).Queries("accessKey", "{accessKey:.*}")
    
    		// STS accounts ops
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    			}
    		}
    	}
    
    	if !userExists {
    		return nil, errNoSuchUser
    	}
    
    	return tempAccounts, nil
    }
    
    // ListServiceAccounts - lists only service accounts from the cache.
    func (store *IAMStoreSys) ListServiceAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	var serviceAccounts []auth.Credentials
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    }
    
    func (c *check) assertSvcAccAppearsInListing(ctx context.Context, madmClient *madmin.AdminClient, parentAK, svcAK string) {
    	c.Helper()
    	listResp, err := madmClient.ListServiceAccounts(ctx, parentAK)
    	if err != nil {
    		c.Fatalf("unable to list svc accounts: %v", err)
    	}
    	var accessKeys []string
    	for _, item := range listResp.Accounts {
    		accessKeys = append(accessKeys, item.AccessKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top