TLDR; Allow the use of environment variable or system properties within the .config file.
There might be another way to do this, as my experience with the type space config isn't too great, but I couldn't figure out any other way.
I wish to be able to pull the GOCD username and password from the environment, rather than committing the username and password into the configuration file. For example:
The username and password for gocd can than be sourced at runtime. This could extend to other values in the configuration too. However, for our purposes, the username and password is the require fields to be sourced from the environment.
The pull request has the environment taking precedence over system properties (i.e. operator override).
Hi there,
TLDR; Allow the use of environment variable or system properties within the .config file.
There might be another way to do this, as my experience with the type space config isn't too great, but I couldn't figure out any other way.
I wish to be able to pull the GOCD username and password from the environment, rather than committing the username and password into the configuration file. For example:
The username and password for gocd can than be sourced at runtime. This could extend to other values in the configuration too. However, for our purposes, the username and password is the require fields to be sourced from the environment.
The pull request has the environment taking precedence over system properties (i.e. operator override).
Hope that makes sense. Thanks /dom