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
feature #47445 [FrameworkBundle] Allow secrets vaults to be used directly outside Symfony (AndreasA)
This PR was squashed before being merged into the 6.2 branch.
Discussion
----------
[FrameworkBundle] Allow secrets vaults to be used directly outside Symfony
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
This PR removes the internal tag from the secrets vaults.
This allows developers to use them directly without the need to use Symfony config etc. They still have to install the whole framework bundle but that just means an overhead during download, they are still able to directly instantiate the vault using `new SodiumVault(....)` for instance.
Furthermore, by removing internal from the AbstractVault, it is possible to add a custom vault and specify it replacing the `secrets.vault` service for instance.
See ticket: symfony/symfony#44151
and previous PR: symfony/symfony#45571
Commits
-------
df953f038e [FrameworkBundle] Allow secrets vaults to be used directly outside Symfony
0 commit comments