LinuxCommandLibrary

secrethub

A tool to keep secrets out of config files.

TLDR

Print a secret to stdout

$ secrethub read [path/to/secret]
copy


Generate a random value and store it as a new or updated secret
$ secrethub generate [path/to/secret]
copy


Store a value from the clipboard as a new or updated secret
$ secrethub write --clip [path/to/secret]
copy


Store a value supplied on stdin as a new or updated secret
$ echo "[secret_value]" | secrethub write [path/to/secret]
copy


Audit a repository or secret
$ secrethub audit [path/to/repo_or_secret]
copy

Copied to clipboard