dumps.sh
pastebin CLI-first · no account · ephemeral by default · secrets masked
curl
cat error.log | curl --data-binary @- https://dumps.sh
# → https://dumps.sh/k3x9Qz7m2P
kubectl logs pod/x | curl --data-binary @- "https://dumps.sh?ttl=1h"
echo "$SECRET" | curl --data-binary @- "https://dumps.sh?burn=1"
# shown verbatim, then destroyed after first read
make test 2>&1 | curl --data-binary @- "https://dumps.sh?redact=block"
# 422 if secrets detected
# read raw content
curl https://dumps.sh/raw/k3x9Qz7m2P
# delete (token returned in X-Deletion-Token header on create)
curl -X DELETE -H "X-Deletion-Token: del_xxx" https://dumps.sh/k3x9Qz7m2P
npm cli — @renanrdev/dumps
npm i -g @renanrdev/dumps
cat error.log | dumps
# → https://dumps.sh/k3x9Qz7m2P
cat error.log | dumps --ttl=1h --redact=block
echo "$SECRET" | dumps --burn
# shared as-is (not masked), gone after first read
# read paste to stdout
dumps get k3x9Qz7m2P
# delete (token auto-saved on upload to ~/.dumps/tokens.json)
dumps delete k3x9Qz7m2P
parameters
?ttl=10m|1h|1d|7d|30d (default: 1d)
?redact=warn|mask|block (default: mask)
?burn=1 (verbatim, destroyed after first read)
?lang=yaml|json|... (language hint)
auto-redaction
echo "AKIAIOSFODNN7EXAMPLE" | curl --data-binary @- https://dumps.sh
# stored as ‹REDACTED:aws_access_key_id›