#Dagger secrets information leaking
1 messages ยท Page 1 of 1 (latest)
hm, do you have an example of some code that causes this issue? it shouldn't be getting into those places if you're using WithSecretVariable
for key, value := range *params.SecretEnvVariables {
container = container.WithSecretVariable(key, a.client.SetSecret(key, value))
}```
yeah, i mean more of a complete example - secrets should be removed from the container logs, we have tests for this - if you're seeing secrets in traces/container logs, then i need a more complete example
do you use the secret values without the WithSecretVariable anywhere?
do you use the secret values without the WithSecretVariable anywhere?
no, we use a common func shared above