We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9fe979 commit 7bd3439Copy full SHA for 7bd3439
src/LaravelAwsSecretsManager.php
@@ -106,8 +106,6 @@ protected function getVariables()
106
'SecretId' => $secret['ARN'],
107
]);
108
109
- $envString = $result['Name'].'='.$result['SecretString'];
110
- putenv("$envString");
111
$this->storeToCache($result['Name'], $result['SecretString']);
112
}
113
@@ -116,7 +114,7 @@ protected function getVariables()
116
114
protected function updateConfigs()
117
115
{
118
foreach ($this->configVariables as $variable => $configPath) {
119
- config([$configPath => env($variable)]);
+ config([$configPath => Cache::store($this->cacheStore)->get($variable)]);
120
121
122
0 commit comments