cloudfoundry/gorouter — pull request #25 by sykesm (2014-02-11 04:40:59+00:00)
Title: Omit configuration from /varz output.

Recent exchanges on vcap-dev have resulted in proposals to remove configuration information from /varz outputs of various components.

Provided CF Runtime stories 65042430 and 65300526 result in the removal of configuration information from the ruby CF components, it seems to make sense to begin removing it from the go components as well.

In the case of the go router, omitting configuration will prevent the broadcase of NATS credentials and the loggregator shared secret.

If there's a desire to keep the config information but simply obfuscate or remove sensitive information such s credentials, I'm happy to rework the PR to meet those requirements but the current runtime stories imply config information will be removed from /varz altogether.