---
name: "git-secret-cat"
section: "1"
platform: "linux"
package: "git-secret"
version: "0.5.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-secret-cat"
---

# git-secret-cat(1)

decrypts files passed on command line to stdout.

## NAME

**git-secret-cat** - decrypts files passed on command line to stdout.

## SYNOPSIS

```
git secret cat [-d dir] [-p password] filename [filenames]
```

## DESCRIPTION

**git-secret-cat** - prints the decrypted contents of the passed files.

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 (See [git-secret(7)](/git-secret/7.md) *https://git-secret.io/git-secret* for information using **SECRETS\_PINENTRY**.

## OPTIONS

```
-d  - specifies `--homedir` option for the `gpg`, use this option if you store your keys in a custom location.
-p  - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-h  - shows help.
```

## MANUAL

Run **man git-secret-cat** to see this document.

## SEE ALSO

[git-secret-init(1)](/git-secret-init/1.md) *https://git-secret.io/git-secret-init*, [git-secret-tell(1)](/git-secret-tell/1.md) *https://git-secret.io/git-secret-tell*, [git-secret-add(1)](/git-secret-add/1.md) *https://git-secret.io/git-secret-add*, [git-secret-hide(1)](/git-secret-hide/1.md) *https://git-secret.io/git-secret-hide*, [git-secret-reveal(1)](/git-secret-reveal/1.md) *https://git-secret.io/git-secret-cat*
