Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ListServiceAccounts (0.1 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top