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 72b047f commit 8b188d2Copy full SHA for 8b188d2
src/LaravelAwsSecretsManager.php
@@ -107,13 +107,13 @@ protected function getVariables()
107
]);
108
$secretValues = json_decode($result['SecretString'], true);
109
110
- if(is_array($secretValues) && count($secretValues) > 0) {
+ if (is_array($secretValues) && count($secretValues) > 0) {
111
if (isset($secretValues['name']) && isset($secretValues['value'])) {
112
$key = $secretValues['name'];
113
$secret = $secretValues['value'];
114
putenv("$key=$secret");
115
$this->storeToCache($key, $secret);
116
- }else{
+ } else {
117
foreach ($secretValues as $key => $value) {
118
putenv("$key=$value");
119
$this->storeToCache($key, $value);
0 commit comments