View the Encryption Algorithm and Store Key
The debug encryption-active-key
command displays the encryption algorithm and store key for an encrypted store.
Synopsis
$ cockroach debug encryption-active-key [path specified by the store flag]
Example
Start a node with encryption-at-rest enabled:
$ 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:
$ cockroach debug encryption-active-key cockroach-data
AES128_CTR:be235c29239aa84a48e5e1874d76aebf7fb3c1bdc438cec2eb98de82f06a57a0
See also
当前内容版权归 cockroachlabs.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 cockroachlabs.com .