[FEATURE] Hide secrets from logs when running command with doppler run --hide-secrets
#326
Labels
enhancement
New feature or request
doppler run --hide-secrets
#326
Is your feature request related to a problem? Please describe.
When using doppler on Github Actions with a command like
doppler run -- printenv
your secrets will be leaked in the Github actions logsUsually Github Actions replaces Github Actions secrets with
****
in the logs, but if you use doppler you won't have this featureThis is also useful if you are streaming on Twitch and want to show your terminal logs safely
Describe the solution you'd like
When running
doppler run --hide-secrets
replace all doppler secrets instances with****
charactersDescribe alternatives you've considered
Additional context
It would also be useful to add the option
--show SECRET_NAME
to allow some secrets to be shown, useful if you are storing non sensitive data in doppler and want to show them in logsThe text was updated successfully, but these errors were encountered: