allanbreyes / shhh

A shell wrapper that keeps secrets out of build and CI logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shhh

A shell wrapper that keeps secrets out of build and CI logs.

Usage

Change the shebang line of your script:

#!/usr/bin/env shhh
echo "lol check out my private key:"
cat ~/.ssh/id_ed25519

Running it should mask secrets in the output:

$ ./your-script.sh
lol check out my private key:
*** start(private-ssh-key) ***
*** private-ssh-key ***
*** private-ssh-key ***
*** private-ssh-key ***
*** private-ssh-key ***
*** private-ssh-key ***
*** end(private-ssh-key) ***
7 lines redacted

About

A shell wrapper that keeps secrets out of build and CI logs


Languages

Language:Rust 76.8%Language:Nix 16.3%Language:Shell 6.9%