Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | no |
Symfony version | x.y.z |
There should be a way to handle missing or not set parameters during runtime. Primary application I can think of is for resolving sensitive values such as secrets. A lot of production systems are now being containerized. Depending on the container engine, CI/DI stack or orchestration tooling, there are also varying ways of obtaining secrets. The simplest is through environment variables or runtime mounted volume file (docker swarm secret) and has been discussed somewhere else but some requires some form of custom handshake or maybe custom stream handler. Since this is runtime, the event handler can also be a service (useful for some 2-step validation).