

A principal not specified in the map is passed through as-is via the identity function. If multiple mappings are provided for the same, the last one specified in the list takes precedence. 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). This allows mapping the principal in a cert to a DB principal such as node or root or any SQL user.

The SQL user that will own the client session.Ī comma-separated list of : mappings. Note: The port number can also be specified via -host.

This can be the address of any node in the cluster. The server host and port number to connect to. To convert a connection URL to the syntax that works with your client driver, run cockroach convert-url. All statement-diag subcommands support several client connection and logging flags.Īpply to all bundles or activation requests.Ī connection URL to use instead of the other arguments.The delete and cancel subcommands support one general-use flag.
