uaa
uaa copied to clipboard
Also use environment variables to configure UAA
Since we're trying to run UAA in containers, we should also make it configurable using environment variables.
Some reasons why:
- That's what 12 factor apps should do https://12factor.net/
- Cloud Foundry does it
- Users no longer need to understand UAA's config file or use workarounds #904
- Easier to run UAA as a Cloud Foundry app
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/172622049
The labels on this github issue will be updated when the story is started.
@viovanov issue is valid, would you propose a PR for it ? e.g. StringSubstitutor could be used https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/java/org/cloudfoundry/identity/uaa/impl/config/YamlProcessor.java
https://gist.github.com/amr/897109c2c9a5d3b317e6a97fe74f321f
@strehle unfortunately I can't find the time to help, sorry - I'm not working with UAA currently