| --cert-principal-map | A comma-separated list of : mappings. This allows mapping the principal in a cert to a DB principal such as node or root or any SQL user. This is intended for use in situations where the certificate management system places restrictions on the Subject.CommonName or SubjectAlternateName fields in the certificate (e.g., disallowing a CommonName like node or root). If multiple mappings are provided for the same “, the last one specified in the list takes precedence. A principal not specified in the map is passed through as-is via the identity function. A cert is allowed to authenticate a DB principal if the DB principal name is contained in the mapped CommonName or DNS-type SubjectAlternateName fields. |
--certs-dir | The path to the containing the CA and client certificates and client key. Env Variable:COCKROACH\_CERTS\_DIR Default:${HOME}/.cockroach-certs/ | |
--echo-sql | Reveal the SQL statements sent implicitly by the command-line utility. | |
--url | A to use instead of the other arguments. Env Variable:COCKROACH\_URL Default: no URL | |
--user -u | The that will own the client session. Env Variable:COCKROACH\_USER Default:root | |