monkeys
Concepts

Secret

A secret is what a key holds: the API key, token or password itself. It is the only thing monkeys exists to keep, and the only thing it never prints.

A secret is what a key holds: the API key, token or password itself. It is the only thing monkeys exists to keep, and the only thing it never prints.

Where it goes

A secret enters the vault through set, typed at a prompt, piped in or read from the clipboard, and leaves it in exactly one way: into the environment of a command that run starts. What that command prints comes back through monkeys, which replaces the secret with [redacted KEY] on the way.

Replacing one

Storing a secret under a key you already stored replaces the old one, and nothing says so. The previous secret is gone; the vault keeps no history to recover it from.

Reading one

No monkeys command prints a secret. To read one in full, open the vault itself, Keychain Access on macOS or the desktop's secret browser on Linux, where the decision to look at one is yours and deliberate.

On this page