taupage
taupage copied to clipboard
Mask all environment variable values which are KMS encrypted
Mask all environment variable values which are KMS encrypted, regardless of their name.
I think it is a security bug, not an enhancement. Currently KMS encrypted keys are logged in plain text within docker run command. With logs search service like scalyr it means we leak private keys to 3rd party.
@AlexanderYastrebov only if it does not match the name pattern, see here: https://github.com/zalando-stups/taupage/blob/09f198628ff58ca5cf3e5d6265656ae2969a7221/runtime/usr/local/lib/python3.4/dist-packages/taupage/init.py#L86, i.e. if your environment variable is MYPASS
or MYSECRETSTUFF
it should be masked already.
@hjacobs Thanks, I will evaluate this, but I consider it as a workaround whereas subject is the exact problem - kms stuff should be masked mandatory