Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetAllSTSUserMappings (0.1 sec)

  1. cmd/iam-store.go

    			}
    		}
    	}
    
    	return res
    }
    
    // GetAllSTSUserMappings - Loads all STS user policy mappings from storage and
    // returns them. Also gets any STS users that do not have policy mappings but have
    // Service Accounts or STS keys (This is useful if the user is part of a group)
    func (store *IAMStoreSys) GetAllSTSUserMappings(userPredicate func(string) bool) (map[string]string, error) {
    	cache := store.rlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  2. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	if sys.usersSysType != LDAPUsersSysType {
    		return nil, errIAMActionNotAllowed
    	}
    
    	select {
    	case <-sys.configLoaded:
    		stsMap, err := sys.store.GetAllSTSUserMappings(sys.LDAPConfig.IsLDAPUserDN)
    		if err != nil {
    			return nil, err
    		}
    		ldapUsers := make(map[string]madmin.UserInfo, len(stsMap))
    		for user, policy := range stsMap {
    			ldapUsers[user] = madmin.UserInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
Back to top