Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListServiceAccounts (0.06 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
Back to top