cockroachdb / docs

CockroachDB user documentation
https://cockroachlabs.com/docs
Creative Commons Attribution 4.0 International
190 stars 460 forks source link

Add documentation for cockroach debug encryption-status #14039

Open jonstjohn opened 2 years ago

jonstjohn commented 2 years ago

jon (jonstjohn) commented:

Documentation for the command cockroach debug encryption-status should be added to the official docs.

Two outstanding defects make it the only way that users can check encryption status of a store in 21.2:

The suggested work-around is to use the cockroach debug encryption-status command. This command does not appear in the official docs and has two requirements that are not readily apparent:

An example of this command properly formatted is:

cockroach debug encryption-status --enterprise-encryption=path=/mnt/data1/cockroach,key=/home/ubuntu/aes-256.key,old-key=aes-256.key /mnt/data1/cockroach

This produces a report of the current encryption status, including currently active and past store keys, as well as data keys.

Providing documentation on this command will give users the information they need to check the status of their encrypted stores in 21.2 and other versions.

Jira Issue: DOC-3820

exalate-issue-sync[bot] commented 1 year ago

Richard Loveland (rmloveland) commented: linville reassigned to you as it’s Deployment & Operations, per https://cockroachlabs.atlassian.net/wiki/x/RQG-dg