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 cb29263 commit d9fe979Copy full SHA for d9fe979
src/LaravelAwsSecretsManager.php
@@ -106,13 +106,9 @@ protected function getVariables()
106
'SecretId' => $secret['ARN'],
107
]);
108
109
- $secretValues = json_decode($result['SecretString'], true);
110
- if (is_array($secretValues)) {
111
- foreach ($secretValues as $key => $secret) {
112
- putenv("$key=$secret");
113
- $this->storeToCache($key, $secret);
114
- }
115
+ $envString = $result['Name'].'='.$result['SecretString'];
+ putenv("$envString");
+ $this->storeToCache($result['Name'], $result['SecretString']);
116
}
117
118
0 commit comments