Configuration Management
Building Desired State from Properties
The application and environment settings are split into separate configuration management files. Application settings are those which have the same value, for the release, in all environments.
Environment specific settings are associated to a given component, and differ for each environment. Note the special marker for sensitive data.
At deploy time, an array is constructed combining the application settings and the environment properties. A SHA-256 hash is generated from each array, to provide an identification mechanism of state, without disclosing any of the settings, some of which maybe sensitive.
After deployment, these are persisted. In this example, they are stored in an Atlassian Confluence page. The advantage of this is that if it is desired to reset an environment after suspected manual interference, the record(s) can be deleted and the deployment rerun.
