We strongly recommend only using
cockroach debug encryption-decrypt when working directly with the .Synopsis
- : The cluster’s .
- : The directory where the node .
- : The name of an encrypted store file.
- : A name for the decrypted store file. If not specified, the command will output the decrypted contents to
stdout.
--url flag.
After running the command, you can send the requested decrypted file to Cockroach Labs.
Subcommands
While thecockroach debug command has a few subcommands, users are expected to use only the , , , , , and subcommands.
We recommend using the and subcommands only when directed by the .
The other debug subcommands are useful only to Cockroach Labs. Output of debug commands may contain sensitive or secret information.
Flags
Thedebug encryption-decrypt subcommand supports the following general-use and client connection flags.
General
| Flag | Description |
|---|---|
--timeout | Return an error if the command does not conclude within a specified nonzero value. The timeout is suffixed with s (seconds), m (minutes), or h (hours). For example:--timeout=2m |
Client connection
Files
Thecockroach debug encryption-decrypt command will output the decrypted store file to the specified location. If no location is specified, the decrypted contents are sent tostdout.

