You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fly commands do not fully redact secrets from build logs #8477
I am torn on if this issue is just an example of dumb usage echoing a secret (compared to putting the secret in a param) or a real thing. Feel free to close if you feel it is the former.
Note that the use of echo is a red herring -- the secrets are leaked in the log message "running <dumps script>" (maybe here?), not during the actual script execution
Clarifying for myself later: the issue is that when you run fly watch/execute/trigger-job, it'll print running... and then print out the task's run.path and run.args with all vars interpolated and NOT redacted.
We could either:
Redact the secrets, or
Show the original command before var interpolation
Activity
dmarmugi commentedon Jul 25, 2024
from the linked ticket #5064 (comment)
Note that the use of
echois a red herring -- the secrets are leaked in the log message "running <dumps script>" (maybe here?), not during the actual script executiontaylorsilva commentedon Mar 25, 2026
Clarifying for myself later: the issue is that when you run
fly watch/execute/trigger-job, it'll printrunning...and then print out the task'srun.pathandrun.argswith all vars interpolated and NOT redacted.We could either:
I think the leak comes from the task delegate:
concourse/atc/engine/task_delegate.go
Lines 53 to 83 in 16ef245
This could be an issue with all
build.SaveEvent()calls in the other delegates as well.fix: redact secrets from task config in build events
aliculPix4D commentedon Apr 29, 2026
Thanks @pierluigilenoci for the fix.