From 3a513b6646e37e1c40ed066956b66079261e1b2e Mon Sep 17 00:00:00 2001 From: Rodos Date: Fri, 12 Dec 2025 09:55:13 +1100 Subject: [PATCH] docs: add stdin token example to README Add example showing how to pipe a token from stdin using file:///dev/stdin to avoid storing tokens in environment variables or command history. Closes #187 --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 9fd35fd..55e21c8 100644 --- a/README.rst +++ b/README.rst @@ -359,6 +359,9 @@ Debug an error/block or incomplete backup into a temporary directory. Omit "incr github-backup -f $FINE_ACCESS_TOKEN -o /tmp/github-backup/ -l debug -P --all-starred --starred --watched --followers --following --issues --issue-comments --issue-events --pulls --pull-comments --pull-commits --labels --milestones --repositories --wikis --releases --assets --pull-details --gists --starred-gists $GH_USER +Pipe a token from stdin to avoid storing it in environment variables or command history (Unix-like systems only):: + + my-secret-manager get github-token | github-backup user -t file:///dev/stdin -o /backup --repositories Development