upcmd / up

UP - Ultimate Provisioner CLI
https://upcmd.netlify.app/
MIT License
50 stars 4 forks source link

(feat): mask input variable #20

Closed lukasmrtvy closed 2 years ago

lukasmrtvy commented 3 years ago

Would be nice to be able mask input variable, something like:

flags:
- masked

, ( similar to terraform 0.14 feature ) to prevent outputing this variable to stdout/stderr, its important when are you need to ship logs from upcmd to some elasticsearch, splunk, etc.

Thanks

stephencheng commented 3 years ago

Good idea!

I will add this feature

Thanks

stephencheng commented 3 years ago

@lukasmrtvy

I have added the feature you requested, see details:

source: https://github.com/upcmd/up/blob/master/tests/functests/p0210.yml doc: https://github.com/upcmd/updocs/blob/master/content-src/security/masked_input.md release: rolling release https://github.com/upcmd/up/releases/tag/rolling-20201123 or latest

Let me know if it's good for your use caes