Base Database - OCI Vault

Oracle Base Database Service in Oracle AI Database@Azure integrates with OCI Vault to provide data encryption using a customer-managed key (CMK). This integration centralizes key storage and management, significantly simplifying your overall key lifecycle.

  • Oracle Base Database Service integration with OCI Vault are available through the OCI Console.

  • Complete the following steps:

    1. Create an OCI Vault

      For more information, see Create an Oracle Cloud Infrastructure Vault.

    2. Create a Master Encryption Key in the Vault

      For more information, see Create a Master Encryption Key in the Vault.

    3. Create an OCI Dynamic Group

      1. From the OCI console, select Oracle AI Database, and then select Oracle Base Database Service.

      2. From the left menu, select DB Systems, and then select the name of the Base Database.

      3. Select the DB system information tab, scroll down to the General information section. Take a note of your Base Database Compartment information. This screenshot shows how to obtain your compartment information.

      4. From the navigation menu , select Identity & Security, and then select Compartments.

      5. From the Compartments list, navigate to the compartment validated in the previous step and take a note of the OCID information. This screenshot shows how to obtain your OCID information.

      6. From the navigation menu , select Identity & Security, and then select Domains. This screenshot shows how to navigate to your domain.

      7. From the Applied filters section, select the Root Compartment and then select the name of your domain. This screenshot shows how to create a domain.

      8. Select the Dynamic groups tab, and then select the Create dynamic group button.

        1. Name: Enter a descriptive name for the group.

        2. Description: Provide a brief description of the dynamic group’s purpose.

        3. Matching Rules: Enter the following statement, replacing ` ` with the compartment **OCID** you noted in the previous step:

        ALL {resource.compartment.id = '<your_Compartment_OCID>'}
        1. Review your information, and then select the Create button.

        This screenshot shows how to create a dynamic group.

    4. Create an OCI Policy

      1. From the navigation menu , select Identity & Security, and then select Policies.

      2. In the Applied Filter section, select the Root Compartment, and then select the Create Policy button.

        1. Name: Enter a descriptive name for the group.

        2. Description: Provide a brief description of the dynamic group’s purpose.

        3. Enable the Show manual editor button, and then enter the following statements. Replace <dynamic-group-name> with the name of the dynamic group created in the previous step, and <your_Compartment_OCID> with your specific compartment OCID:

        Allow dynamic-group <dynamic-group-name> to manage vaults in compartment id <your_Compartment_OCID>
        Allow dynamic-group <dynamic-group-name> to manage keys in compartment id <your_Compartment_OCID>
        1. Review your information and then select the Create button.

      This screenshot shows how to create a policy.

    5. Modify the Key Management from Oracle Wallet to OCI Vault

      To update key management from Oracle Wallet to OCI Vault, complete the following steps:

      1. From the OCI console, select Oracle AI Database, and then select Oracle Base Database Service.

      2. From the left menu, select DB Systems, and then select the name of the Base Database that you wish to modify.

      3. From your Base Database system, navigate to Databases tab, and then select the name field of the database you wish to modify.

      4. Select the More actions button and then select the Manage encryption key option.

      5. From the Manage encryption key page, enter the following information.

        1. Select the Oracle Key Management Type as Encryption type.

        2. Select the Compartment where you created your OCI Vault, and then select the OCI Vault from the Vault dropdown list.

        3. Select the Compartment where you created your OCI key, and then select the OCI key from the Master encryption key dropdown list.

        4. The Select the key version toggle is optional. if you do not select a version, the latest version of the key will be used.

        5. Enter your TDE wallet password.

        6. Select the Update button to save your changes.

      This screenshot shows how to update key management.

    6. Verify the Database Encryption Method

      1. From the OCI console, select Oracle AI Database, and then select Oracle Base Database Service.

      2. From the left menu, select DB Systems, and then select the name of the Base Database.

      3. Select the Databases tab, and then select the name of the database that you wish to validate.

      4. Scroll down to the Encryption section. In this section, you can view the Encryption Key and Encryption Key OCID details of the OCI key in use.

      This screenshot shows how to manage encryption key.

    Rotate the OCI Vault Key for a Container Database (CDB)

    1. From the OCI console, select Oracle AI Database, and then select Oracle Base Database Service.

    2. From the left menu, select DB Systems, and then select the name of the Base Database.

    3. Select the Databases tab, and then select the name of the database that you want to rotate encryption keys.

    4. Select the Action menu( three dots) and then select the Rotate option.

    5. Select the Confirm button to save the changes. This screenshot shows how to rotate a key.

    Rotate the OCI Vault Key for a Pluggable Database (PDB)

    1. From the OCI console, select Oracle AI Database, and then select Oracle Base Database Service.

    2. From the left menu, select DB Systems, and then select the name of the Base Database.

    3. Select the Database tab and then select your database.

    4. Select the Pluggable Databases tab, and then select your Pluggable Database that you want to want to rotate encryption keys.

    5. The Encryption section displays the Encryption Key details.

    6. Select the Action menu( three dots) and then select the Rotate option.

    7. Select the Confirm button to save the changes. This screenshot shows how to rotate a key.

  • Oracle Base Database Service integration with OCI Vault are available through the OCI Console.

  • There is currently no content for this page. Oracle AI Database@Azure team intends to add content here, and this placeholder text is provided until that text is added. The Oracle AI Database@Azure team is excited about future new features, enhancements, and fixes to this product and this accompanying documentation. We strongly recommend you watch this page for those updates.

  • There is currently no content for this page. Oracle AI Database@Azure team intends to add content here, and this placeholder text is provided until that text is added. The Oracle AI Database@Azure team is excited about future new features, enhancements, and fixes to this product and this accompanying documentation. We strongly recommend you watch this page for those updates.