Set Up Oracle Key Vault for Oracle Base Database Cloud@Customer

Oracle Key Vault is a security-hardened appliance that centralizes the management of encryption keys and other security objects. With Oracle Base Database Cloud@Customer, Oracle Key Vault provides a customer-managed solution for creating, storing, and managing Transparent Data Encryption (TDE) master encryption keys.

Oracle Base Database Cloud@Customer enables you to use Oracle Key Vault as a customer-managed key management solution for Oracle AI Database Transparent Data Encryption (TDE) master encryption keys.

Customer-managed keys help meet security, governance, and regulatory compliance requirements by enabling centralized management, storage, monitoring, and lifecycle management of TDE master encryption keys. Oracle Key Vault also enables you to centrally manage TDE master encryption keys across multiple Oracle AI Database deployments.

A keystore is an Oracle Base Database Cloud@Customer resource that associates a database with an Oracle Key Vault. The keystore enables databases to securely access customer-managed TDE master encryption keys managed by Oracle Key Vault.

To use customer-managed TDE master encryption keys with Oracle Base Database Cloud@Customer, prepare the Oracle Key Vault environment, configure Oracle Base Database Cloud@Customer to communicate with the Oracle Key Vault, and create a keystore associated with the Oracle Key Vault.

With Oracle Key Vault, you can:

Oracle Key Vault is customer provisioned and customer managed. It is not part of OCI managed services.

Prerequisites

Before configuring Oracle Key Vault for use with Oracle Base Database Cloud@Customer, ensure that the following prerequisite is met:

Prepare Oracle Key Vault

Before integrating Oracle Key Vault with Oracle Base Database Cloud@Customer, complete the following tasks:

For more information, see:

Store the Oracle Key Vault REST Administrator Password

Oracle Base Database Cloud@Customer uses the Oracle Key Vault REST administrator credentials to communicate with the Oracle Key Vault during database provisioning and other Oracle Key Vault operations.

Store the Oracle Key Vault REST administrator password as a secret in OCI Vault. Oracle Base Database Cloud@Customer retrieves the password from OCI Vault only when it needs to communicate with the Oracle Key Vault.

To store the Oracle Key Vault REST administrator password, create a vault and then create a secret in the vault.

For more information, see:

Create an IAM Policy

Create an IAM policy that grants the required user group permission to read the secret bundle containing the Oracle Key Vault REST administrator password stored in OCI Vault.

Use the following policy statement:

Allow group <group-name> to read secret-bundles in compartment <compartment-name> where target.secret.id='<secret_ocid>'

Replace the following placeholders with values for your environment:

For more information, see:

Create a Keystore

A keystore is required to enable Oracle Base Database Cloud@Customer databases to use customer-managed TDE master encryption keys managed by Oracle Key Vault. It stores the Oracle Key Vault connection details and enables databases to access customer-managed TDE master encryption keys.

For instructions, see Create a Keystore.