A CLI tool to decode base64-encoded Kubernetes secrets.
curl -fsSL https://raw.githubusercontent.com/itsrishub/shhh/main/install.sh | sudo bashcargo build --release
sudo cp target/release/shhh /usr/local/bin/Or use the included build script:
chmod +x build.sh
./build.shPipe the YAML output of kubectl get secret to shhh:
kubectl get secret <secret-name> -o yaml | shhh$ kubectl get secret my-credentials -o yaml | shhh
apiVersion: v1
kind: Secret
metadata:
name: my-credentials
namespace: default
type: Opaque
data:
username: admin
password: supersecret123The tool preserves the original YAML structure and decodes all base64 values in the data section inline.
The tool validates input and provides helpful error messages:
- Running without piped input shows usage instructions
- Non-secret YAML input is rejected with an error
- Secrets without a
datasection are flagged
- Rust (for building)
- kubectl (for fetching secrets)
