code: func parseSecretMap(secretMap map[string]string) (string, error) {
  	if len(secretMap) == 0 {
  		return "", fmt.Errorf("empty secret map")
  	}
  	secret := ""
  	for k, v := range secretMap {
  		if k == secretKeyName {
  			return v, nil
  		}
  		secret = v
  	}
  	// If not found, the last secret in the map wins as done before
  	return secret, nil
  }
docs: // parseSecretMap locates the secret by key name.