Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Hide secrets from logs when running command with doppler run --hide-secrets #326

Open
remorses opened this issue Aug 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@remorses
Copy link

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 logs

Usually Github Actions replaces Github Actions secrets with **** in the logs, but if you use doppler you won't have this feature

This 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 **** characters

Describe 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 logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant