Use Vault’s KMS secrets engine to manage a CockroachDB Advanced cluster’s customer-managed encryption key
CockroachDB Advanced supports the use of customer-managed encrypted keys (CMEK) for the encryption of data at rest. Vault’s Key Management secrets engine allows customers to manage encryption keys on external key management services (KMS) such as those offered by Google Cloud Platform (GCP) or Amazon Web Services (AWS). CockroachDB customers can integrate these services, using Vault’s KMS secrets engine to handle the full lifecycle of the encryption keys that CockroachDB Advanced uses to protect their data. Resources:Use Vault’s PKI Secrets Engine to manage a CockroachDB Advanced cluster’s certificate authority (CA) and client certificates.
CockroachDB Advanced customers can use Vault’s public key infrastructure (PKI) secrets engine to manage PKI certificates for client authentication to the cluster. Vault’s PKI Secrets Engine greatly eases the security-critical work involved in maintaining a certificate authority (CA), generating, signing and distributing PKI certificates. By using Vault to manage certificates, you can use only certificates with short validity durations, an important component of PKI security. Refer to for an overview. Refer to for procedures in involved in administering PKI for a CockroachDB Advanced cluster.Use Vault’s PKI Secrets Engine to manage a CockroachDB CockroachDB cluster’s certificate authority (CA), server, and client certificates
CockroachDB CockroachDB customers can use Vault’s public key infrastructure (PKI) secrets engine to manage PKI certificates for internode as well as client-cluster authentication. Vault’s PKI Secrets Engine greatly eases the security-critical work involved in securely maintaining a certificate authority (CA), generating, signing and distributing PKI certificates. By using Vault to manage certificates, you can use only certificates with short validity durations, an important component of PKI security. Refer to for an overview. Refer to for procedures in involved in administering PKI for a CockroachDB CockroachDB cluster.Use Vault’s PostgreSQL Database Secrets Engine to manage CockroachDB SQL users and their credentials
CockroachDB users can use Vault’s PostgreSQL Database Secrets Engine to handle the full lifecycle of SQL user credentials (creation, password rotation, deletion). Vault is capable of managing SQL user credentials in two ways:- As Static Roles, meaning that a single SQL user/role is mapped to a Vault role.
- As Dynamic Secrets, meaning that credentials are generated and issued on demand from pre-configured templates, rather than created and persisted. Credentials are issued for specific clients and for short validity durations, further minimizing both the likelihood of a credential compromise, and the possible impact of any compromise that might occur.

