Hello,
While reviewing some of our Github Actions logging, we noticed leakage of our vault tokens in plain text. After reviewing the source code for the sdk, we found this line that prints the plaintext VAULT_TOKEN to STDOUT.
Offending Code:
|
dc.Logger.Trace("cluster started", "helpful_env", fmt.Sprintf("VAULT_TOKEN=%s VAULT_CACERT=/vault/config/ca.pem", dc.GetRootToken())) |
Hello,
While reviewing some of our Github Actions logging, we noticed leakage of our vault tokens in plain text. After reviewing the source code for the sdk, we found this line that prints the plaintext VAULT_TOKEN to STDOUT.
Offending Code:
vault/sdk/helper/testcluster/docker/environment.go
Line 454 in 2edd6c9