You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #43627 [Framework][Secrets] Fix service definition when local vault is disabled (GromNaN)
This PR was merged into the 5.3 branch.
Discussion
----------
[Framework][Secrets] Fix service definition when local vault is disabled
| Q | A
| ------------- | ---
| Branch? | 5.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Local vault can be disabled with the following configuration:
```
framework:
secrets:
local_dotenv_file: ~
```
This removes the service `secrets.local_vault` ([code](https://github.com/symfony/symfony/blob/5.3/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L1669)). The `secrets:...` commands support this by having `$localVault` argument nullable.
When configuration was moved from XML to PHP in #37216, the attribute `on-invalid="ignore"` of some services was left.
Commits
-------
0e11f5a Fix commands when local vault is disabled
0 commit comments