git-secret/man/man1/git-secret-cat.1.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

git-secret-cat - decrypts files passed on command line to stdout.
2018-04-13 23:37:44 +00:00
=============================================
## SYNOPSIS
2018-04-13 23:40:09 +00:00
git secret cat [-d dir] [-p password] filename [filenames]
2018-04-13 23:37:44 +00:00
## DESCRIPTION
`git-secret-cat` - prints the decrypted contents of the passed files.
2018-04-13 23:37:44 +00:00
As with `git-secret-reveal`, you'll need to have the private key for one of the emails allowed to
decrypt this repo in your personal keyring.
Note this command can be affected by the `SECRETS_PINENTRY` environment variable. See
2021-06-26 14:17:37 +00:00
(See [git-secret(7)](https://git-secret.io/git-secret) for information using `SECRETS_PINENTRY`.
2018-04-13 23:37:44 +00:00
## OPTIONS
-d - specifies `--homedir` option for the `gpg`, use this option if you store your keys in a custom location.
2018-04-13 23:37:44 +00:00
-p - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-h - shows help.
## MANUAL
Run `man git-secret-cat` to see this document.
2018-04-13 23:37:44 +00:00
## SEE ALSO
2021-06-26 14:17:37 +00:00
[git-secret-init(1)](https://git-secret.io/git-secret-init), [git-secret-tell(1)](https://git-secret.io/git-secret-tell), [git-secret-add(1)](https://git-secret.io/git-secret-add), [git-secret-hide(1)](https://git-secret.io/git-secret-hide), [git-secret-reveal(1)](https://git-secret.io/git-secret-cat)