> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cockroachlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# cockroach debug encryption-active-key

The `cockroach debug encryption-active-key` [command](https://docs.cockroachlabs.com/docs/v24.2/cockroach-commands) displays the encryption algorithm and store key for an encrypted store.

## Synopsis

```shell theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
$ cockroach debug encryption-active-key [path specified by the store flag]
```

## Subcommands

While the `cockroach debug` command has a few subcommands, users are expected to use only the [`zip`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-zip), [`encryption-active-key`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-encryption-active-key), [`merge-logs`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-merge-logs), [`list-files`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-list-files), [`tsdump`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-tsdump), and [`ballast`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-ballast) subcommands.

We recommend using the [`encryption-decrypt`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-encryption-decrypt) and [`job-trace`](https://docs.cockroachlabs.com/docs/v24.2/cockroach-debug-job-trace) subcommands only when directed by the [Cockroach Labs support team](https://docs.cockroachlabs.com/docs/v24.2/support-resources).

The other `debug` subcommands are useful only to Cockroach Labs. Output of `debug` commands may contain sensitive or secret information.

## Example

Start a node with Enterprise Encryption At Rest enabled:

```shell theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
$ cockroach start --store=cockroach-data --enterprise-encryption=path=cockroach-data,key=aes-128.key,old-key=plain --insecure --certs-dir=certs
```

View the encryption algorithm and store key:

```shell theme={"theme":{"light":"catppuccin-mocha","dark":"catppuccin-mocha"}}
$ cockroach debug encryption-active-key cockroach-data
```

```
AES128_CTR:be235c29239aa84a48e5e1874d76aebf7fb3c1bdc438cec2eb98de82f06a57a0
```

## See also

* [Support Resources](https://docs.cockroachlabs.com/docs/v24.2/support-resources)
* [`cockroach` Commands Overview](https://docs.cockroachlabs.com/docs/v24.2/cockroach-commands)
* [Troubleshooting Overview](https://docs.cockroachlabs.com/docs/v24.2/troubleshooting-overview)
