code: func (p *defaultModules) TraitsFromLogins(logins []string, kubeGroups []string) map[string][]string {
  	return map[string][]string{
  		teleport.TraitLogins:     logins,
  		teleport.TraitKubeGroups: kubeGroups,
  	}
  }
docs: // TraitsFromLogins returns traits for external user based on the logins
  // extracted from the connector
  //
  // By default logins are treated as allowed logins user traits.