File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ CHANGELOG
1515 * Attach the workflow's configuration to the ` workflow ` tag
1616 * Add the ` allowed_recipients ` option for mailer to allow some users to receive
1717 emails even if ` recipients ` is defined.
18+ * Reset env vars when resetting the container
1819
19207.0
2021---
Original file line number Diff line number Diff line change 1313
1414use Symfony \Bundle \FrameworkBundle \Secrets \DotenvVault ;
1515use Symfony \Bundle \FrameworkBundle \Secrets \SodiumVault ;
16+ use Symfony \Component \DependencyInjection \StaticEnvVarLoader ;
1617
1718return static function (ContainerConfigurator $ container ) {
1819 $ container ->services ()
2122 abstract_arg ('Secret dir, set in FrameworkExtension ' ),
2223 service ('secrets.decryption_key ' )->ignoreOnInvalid (),
2324 ])
25+
26+ ->set ('secrets.env_var_loader ' , StaticEnvVarLoader::class)
27+ ->args ([service ('secrets.vault ' )])
2428 ->tag ('container.env_var_loader ' )
2529
2630 ->set ('secrets.decryption_key ' )
You can’t perform that action at this time.
0 commit comments