public function getEnvVarsFromConsul(array $mappings)
    {
        foreach ($mappings as $environmentKey => $consulPath) {
            $keyExists = $this->keyIsDefined($environmentKey);
            if ($keyExists && !$this->overwriteEvenIfDefined) {
                continue;
            }

            $consulValue = $this->getKeyValueFromConsul($consulPath);
            $this->saveKeyValueInEnvironmentVars($environmentKey, $consulValue);
        }
    }