DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
214 stars 43 forks source link

Implement `hide-secrets` flag for run command #327

Open remorses opened 1 year ago

remorses commented 1 year ago

Implements #326

remorses commented 1 year ago

I can add tests for ReplaceTransformer if you want, i copied that code from here

Piccirello commented 1 year ago

I'm having difficulty understanding the practical use case for this, beyond demos. Why would a user want invalid values to be injected? I think a more pragmatic solution would be to support specifying an allowlist of secrets that should be injected (#322).

remorses commented 1 year ago

This pr does not inject invalid values, it simply hides them from the terminal output, the env variables remain the same

some use cases