public function loadProfileToEnv($profile) { $tmp = []; foreach ($this->credentialProvider->getEnvVarsForProfile($profile) as $var => $value) { putenv("{$var}={$value}"); } return $tmp; }