Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ListSTSAccounts (0.08 sec)

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

    		// default to both
    		listType = ""
    	}
    
    	var serviceAccounts []auth.Credentials
    	var stsKeys []auth.Credentials
    
    	if listType == "" || listType == "sts-only" {
    		stsKeys, err = globalIAMSys.ListSTSAccounts(ctx, targetAccount)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	if listType == "" || listType == "svcacc-only" {
    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/iam.go

    		return nil, ctx.Err()
    	}
    }
    
    // ListSTSAccounts - lists all STS accounts associated to a specific user
    func (sys *IAMSys) ListSTSAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.ListSTSAccounts(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

    				v.SessionToken = ""
    				serviceAccounts = append(serviceAccounts, v)
    			}
    		}
    	}
    
    	return serviceAccounts, nil
    }
    
    // ListSTSAccounts - lists only STS accounts from the cache.
    func (store *IAMStoreSys) ListSTSAccounts(ctx context.Context, accessKey string) ([]auth.Credentials, error) {
    	cache := store.rlock()
    	defer store.runlock()
    
    	var stsAccounts []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)
  4. cmd/admin-handlers-users.go

    	}
    
    	accessKeyMap := make(map[string]madmin.ListAccessKeysResp)
    	for _, user := range checkedUserList {
    		accessKeys := madmin.ListAccessKeysResp{}
    		if listSTSKeys {
    			stsKeys, err := globalIAMSys.ListSTSAccounts(ctx, user)
    			if err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    			for _, sts := range stsKeys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top