In a few cases, we have implemented endpoints that expose the configuration of a running app. I think it would be useful to standardize how to do that, and document it as optional.
A few considerations:
- Expose ENV variables as key/value under an
environment key ?
- Expose hard-coded config under
configuration key ?
- Limit exposure to internal network and/or authenticated endpoints only (simple token should be enough)?
- Use the standard
__config__ endpoint?
In a few cases, we have implemented endpoints that expose the configuration of a running app. I think it would be useful to standardize how to do that, and document it as optional.
A few considerations:
environmentkey ?configurationkey ?__config__endpoint?