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 7bd3439 commit c9a0499Copy full SHA for c9a0499
src/LaravelAwsSecretsManager.php
@@ -105,7 +105,9 @@ protected function getVariables()
105
$result = $this->client->getSecretValue([
106
'SecretId' => $secret['ARN'],
107
]);
108
-
+ $key = $result['Name'];
109
+ $secret = $result['SecretString'];
110
+ putenv("$key=$secret");
111
$this->storeToCache($result['Name'], $result['SecretString']);
112
}
113
@@ -114,7 +116,7 @@ protected function getVariables()
114
116
protected function updateConfigs()
115
117
{
118
foreach ($this->configVariables as $variable => $configPath) {
- config([$configPath => Cache::store($this->cacheStore)->get($variable)]);
119
+ config([$configPath => env($variable)]);
120
121
122
0 commit comments