Support settings via OS Environment
For sensitive data or other purposes it would be nice to support altering settings by some environment variables.
SetEnv FLOW3_FLOW3_PERSISTENCE_BACKENDOPTIONS_PASSWORD "mypassword"
#4 Updated by Robert Lemke about 8 years ago
- Has patch set to No
Thanks for starting with the implementation!
I suggest that we follow the general UNIX conventions and write the environment variable names all uppercase. Additionally, I'd rather not use an additional prefix such as "F3" – can you just iterate over the active package keys, replace "." by "_", make it all uppercase and then consider the related environment variables? So, in the end we'd have: TYPO3_FLOW3_SECURITY_ENABLE = 1
#13 Updated by Christian Müller over 7 years ago
- Status changed from Under Review to Rejected
I abandon the change. Maybe we come up with some totally different way of setting stuff, but OS Environment seems not a good idea for
a) Security Reasons
c) General Performance as all ENV need to be checked
d) Every possible way of implementing has some drawbacks, like the Setting must exist in some Settings already, you cannot set a new setting.