Hi All,
In this file, you define the obfuscation mechanism used in the subcommand newrelic agent config obfuscate. From my understanding you can generate obfuscated credentials through this and then use them in your newrelic environment. But exposing such obfuscated strings can leave you exposed since this cli is opensource and anybody can easily reverse it.
|
func StringWithKey(textToObfuscate string, encodingKey string) string { |
I would suggest to use a proper encryption algorithm instead of just obfuscating values.