func ValidateRequiredCredentials(m map[string]string, keys []string) error {
	var missing []string
	for _, key := range keys {
		if _, ok := m[key]; !ok {
			missing = append(missing, key)
		}
	}
	if len(missing) > 0 {
		return fmt.Errorf("missing required credentials: %s", strings.Join(missing, ", "))
	}
	return nil
}
// ValidateRequiredCredentials validates all required credentials are present
ValidateRequiredCredentials validates all required credentials are present
// ValidateRequiredCredentials validates all required credentials are present
func ValidateRequiredCredentials(m map[string]string, keys []string) error {
	var missing []string
	for _, key := range keys {
		if _, ok := m[key]; !ok {
			missing = append(missing, key)
		}
	}
	if len(missing) > 0 {
		return fmt.Errorf("missing required credentials: %s", strings.Join(missing, ", "))
	}
	return nil
}
func ValidateRequiredCredentials ( m map [ string ] string , keys [ ] string ) error { var missing [ ] string for _ , key := range keys { if _ , ok := m [ key ] ; ! ok { missing = append ( missing , key ) } } if len ( missing ) > 0 { return fmt . Errorf ( " " , strings . Join ( missing , " " ) ) } return nil }
ValidateRequiredCredentials validates all required credentials are present
ValidateRequiredCredentials validates all required credentials are present