--- title: "Oracle Cloud Infrastructure KMS Group Setup" slug: "fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide" updated: 2026-08-27T07:59:17Z published: 2026-08-27T07:59:17Z canonical: "support.fortanix.com/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Oracle Cloud Infrastructure KMS Group Setup ## 1.0 Introduction This article describes how to set up a Cloud Data Control (CDC) group for Oracle Cloud Infrastructure (OCI) Key Management Service (KMS) using Fortanix-Data-Security-Manager (DSM). The OCI CDC group can be configured for Oracle Commercial Cloud environments and OCI Dedicated Region (previously known as Oracle Dedicated Region Cloud@Customer (DRCC)) deployments. The Fortanix solution for OCI KMS offers Cloud Native Key Management (CNKMS) and Bring Your Own Key (BYOK), and complete lifecycle management and automation of OCI keys and allows users to manage all keys centrally and securely. ## 2.0 Getting Started with Fortanix Cloud Data Control *To understand which solution between CNKMS, Bring Your Own Key (BYOK), Host Your Own Key (OCI Vault EKM) or Bring Your Own Encryption (BYOE), is right for you, refer to* [*Fortanix DSM - Cloud Data Control - Getting Started*](/v1/docs/fortanix-dsm-cloud-data-control-getting-started)*.* ## 3.0 Obtaining Access to Fortanix DSM Create an account in Fortanix DSM if you do not have one already. *For more information, refer to* [*Getting Started with Fortanix Data Security Manager - UI*](https://support.fortanix.com/docs/users-guide-getting-started-with-fortanix-data-security-manager-ui)*.* ## 4.0 Fortanix DSM OCI CDC Group Setup ### 4.1 Create an OCI Vault Before connecting Fortanix DSM to OCI, ensure that a Vault is already set up in your Oracle tenancy to hold DSM-managed keys. 1. Log in to the [Oracle Cloud](https://cloud.oracle.com/) console and navigate to **Menu** → **Identity & Security** → **Vault** → **Vaults**. *For more information on how to create Vaults in the Oracle Cloud console, refer to the* [*Oracle official documentation*](https://docs.oracle.com/en-us/iaas/Content/KeyManagement/Tasks/managingvaults_topic-To_create_a_new_vault.htm)*.* > [!NOTE] > NOTE > > Each Vault resides within a specific **Compartment** and **Region**. Ensure that the same values are configured later in the OCI CDC group in Fortanix DSM. 2. Select the Vault that you want Fortanix DSM to manage. 3. Click **SAVE** to store the settings. ### 4.2 Retrieve OCI Values for Fortanix DSM Integration Before configuring the OCI CDC group in Fortanix DSM, obtain the following values from the Oracle Cloud console. #### 4.2.1 Domain The Domain identifies the Oracle Cloud domain used to access OCI services. This value is required only when configuring a Sovereign Cloud or OCI Dedicated Region environment. Perform the following steps to retrieve the Domain: 1. Log in to the Oracle Cloud console for your Sovereign Cloud or OCI Dedicated Region environment. 2. On the Oracle Cloud console home page, locate the URL displayed in the browser address bar. 3. Copy the domain portion of the URL. For example, if the URL is `https://console.example-region.example-domain.com`, the Domain value is `example-domain.com`. > [!NOTE] > NOTE > > For **Commercial** Oracle Cloud environments, the **Domain** field is automatically populated in the Fortanix DSM user interface (UI) and cannot be edited. #### 4.2.2 Realm Key The Realm Key identifies the Oracle Cloud realm in which your OCI resources are hosted. This value is required only when configuring a Sovereign Cloud or OCI Dedicated Region environment. Perform the following steps to retrieve the Realm Key: 1. Log in to the Oracle Cloud console for your Sovereign Cloud or OCI Dedicated Region environment. 2. Click the **Navigation** menu in the upper-left corner. 3. Navigate to **Governance & Administration** → **Account Management**. 4. On the **Tenancy Details** page, locate the **Tenancy OCID**. 5. Identify the **Realm Key** from the **Tenancy OCID**. For example, if the Tenancy OCID is `ocid1.tenancy.oc20..xxxxxxxx`, the Realm Key value is **oc20**. > [!NOTE] > NOTE > > For **Commercial** Oracle Cloud environments, the **Realm Key** field is automatically populated in the Fortanix DSM UI and cannot be edited. #### 4.2.3 User OCID Every user in OCI has a unique OCID. Fortanix DSM uses this identifier to authenticate the user and perform operations in OCI. Perform the following steps to retrieve the User OCID: 1. In the OCI console, click your **User Profile** icon in the top-right corner. 2. Select **User settings**. 3. On the **User information** page, copy the value of the **OCID** field. #### 4.2.4 Region Each OCI deployment resides in a specific region. Fortanix DSM requires the region identifier to communicate with the appropriate OCI Vault endpoint. Perform the following steps to retrieve the Region identifier: 1. In the Oracle Cloud console header, click the **Regions** drop down list. 2. Select **Manage regions**. A list of all available regions appears. 3. Copy the **Region identifier** corresponding to the active region. #### 4.2.5 Tenant OCID The Tenant OCID uniquely identifies your OCI tenancy (root compartment). Perform the following steps to retrieve the Tenant OCID: 1. In the Oracle Cloud console, click the **Profile** icon in the top-right corner. 2. Under **Tenancy**, select your tenancy name. 3. On the Tenancy details page, copy the value of the **OCID** field. > [!NOTE] > NOTE > > The Tenant OCID identifies your tenancy's root compartment. If your OCI resources are stored in the root compartment, the Tenant OCID and Compartment OCID are the same. Otherwise, they differ. #### 4.2.6 Compartment OCID The Compartment OCID uniquely identifies the OCI compartment where your resources reside. This value may differ from the Tenant OCID if you are using a sub-compartment instead of the root compartment. If you do not already have a compartment, refer to the [*Oracle official documentation*](https://docs.oracle.com/en-us/iaas/Content/Identity/compartments/To_create_a_compartment.htm) to create a compartment. Perform the following steps to retrieve the Compartment OCID: 1. In the Oracle Cloud console search bar, type **Compartments** and press **Enter**. 2. Select the required **Compartment** from the results. 3. In the **Details** tab, copy the value of the **OCID** field. > [!NOTE] > NOTE > > If you are using the root compartment, the Compartment OCID is the same as the Tenant OCID. If you are using a sub-compartment, the Compartment OCID is unique to that compartment. ### 4.3 Configure an OCI CDC Group After obtaining the OCI values, perform the following steps to create an OCI CDC group in Fortanix DSM: 1. In the DSM user interface (UI) left navigation panel, click the **Groups** menu item, and then click **ADD GROUP** to create a new group. 2. On the **Add new group** form: 1. Enter a **name** and **description** for the group. 2. Click **LINK HSM/EXTERNAL KMS** to select the OCI KMS as the external KMS type, so that Fortanix DSM can connect to it. 3. Select **OCI Vault** from the drop down menu. 4. On the **Adding new group** page, select the Oracle Cloud environment type from the drop down menu: - **Commercial**: Select this option for Oracle Commercial Cloud environments. - **Sovereign**: Select this option for OCI Sovereign Cloud and OCI Dedicated Region environments. 5. Based on the selected environment type, enter the following details: - **Domain**: Specifies the domain used to access OCI services. - For a **Commercial** environment, this field is automatically set to **oraclecloud.com** and cannot be edited. - For a **Sovereign** environment, enter the domain associated with your OCI Sovereign Cloud or OCI Dedicated Region environment, as copied in [*Section 4.2.1: Domain*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#421-user-ocid). - **Realm Key**: Identifies the Oracle Cloud realm in which the resources are hosted. - For a **Commercial** environment, this field is automatically set to **oc1** and cannot be edited. - For a **Sovereign** environment, enter the realm key associated with your OCI Sovereign Cloud or OCI Dedicated Region environment, as copied in [*Section 4.2.2: Realm Key*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#user-ocid). - **Region**: Enter the region where your OCI Vault is deployed, as copied in [*Section 4.2.4: Region*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#422-region). - **Tenant ID**: Enter the OCID of your OCI tenancy as copied in [*Section 4.2.5: Tenant OCID*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#423-tenant-ocid-compartment-ocid). - **User ID**: Enter the OCID of the OCI user, as copied in [*Section 4.2.3: User OCID*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#423-user-ocid). - **Compartment ID**: Enter the OCID of the compartment where your OCI Vault resides, as copied in [*Section 4.2.6: Compartment OCID*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#compartment-ocid). Note that Tenant and Compartment OCID have the same value if you are in the root compartment of your tenancy. 6. In the **Authentication** section, click **GENERATE API KEY** to create a new key pair in Fortanix DSM. If you are an existing user, you can also select an existing key pair from the **API Key** drop down list to configure the signing key in OCI. 7. Once the public key is created in the text box below, click the copy ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (2377).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=xgPj%2FHiC%2FyONmDkV3ZBQ5HjtbDAWU%2BoPKhyPxr1qPiI%3D) button to copy the public key, and then log in to the Oracle Cloud console and follow the steps in [*Section 4.4: Configure OCI API Key*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#44-configure-oci-api-key) to register it. 3. Click **TEST CONNECTION** to test your OCI KMS connection. If Fortanix DSM connects to OCI using the provided OCI credentials, then it shows the status as “Connected” with a green tick ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/360082238652(4).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=SonhTo%2Bb%2BbIB46i3pM67akJ7qw8NwO2BQKK8lcHWq%2BM%3D) and fetches the Vault details associated with the provided OCID. Otherwise, it shows the status as “**Not Connected**” with a yellow warning sign ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (1811)(1).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=FGuwIs%2F1v3u9cbls8S1WFhppRMhh1280oXUT0xxIsvo%3D). 4. Click **SAVE** to store the configuration securely in Fortanix DSM. ### 4.4 Configure OCI API Key Perform the following steps to configure the API key and register it in OCI Vault for key-based authentication: 1. Log in to the [Oracle Cloud](https://cloud.oracle.com/) console. 2. In the upper-right corner of the screen, click your **User Profile** icon and select **User settings**. 3. In the **Tokens and keys** section, click **Add API key**. This allows Fortanix DSM to establish a secure connection to OCI Vault using key-based authentication. 4. In the **Add API key** window, select **Paste a public key** and paste the public key as copied in *Step 2(f)* of [*Section 4.3: Configure an OCI CDC Group*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#43-configure-an-oci-cdc-group). *For more information on API keys limitations, refer to* [*Fortanix DSM - Oracle Cloud Infrastructure KMS Troubleshooting*](/v1/docs/fortanix-dsm-oracle-cloud-infrastucture-troubleshooting)*.* 5. Click **Add** to register the key. Oracle Cloud generates and displays the following information: - **Fingerprint**: The unique identifier of the uploaded public key. - **Tenant OCID**: The Oracle tenancy identifier associated with your account. - **User OCID**: The unique Oracle Cloud user identifier. - **Region**: The geographic region where your OCI Vault resides. Once the key is created, return to the Fortanix DSM UI and click **Test Connection** to validate the configuration. > [!NOTE] > NOTE > > After uploading the public key, it may take a few minutes for the change to reflect and show a "success" status in Fortanix DSM. ### 4.5 Not Connected Scenario When you click the **TEST CONNECTION**, it is possible that Fortanix DSM is not able to connect to the OCI. If that happens, it displays a “**Not Connected**” status with a warning symbol ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (1811)(2).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=V1lr50xPWDiBC5zvHUaK3Eo3Onh%2Fa48C13kR3k9VTeQ%3D) . You can save the details of the new connection provided and edit them later. ### 4.6 HSM/KMS Tab The group details now include an **HSM/KMS** tab displaying information about your KMS. The **HSM/KMS** tab displays the **Region** and **Compartment ID** for the configured OCI Vault. The section also displays the **Credential ID** and **Public half of API Key Pair (upload to OCI)** information and **ROTATE API KEY PAIR NOW** to rotate the API key pair in the **Authentication** section. *For more information on how to rotate the API key pair, refer to* [*Section 4.6.1: Rotate API Key Pair*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-group-setup-guide#461-rotate-api-key-pair)*.* You can click **DELETE HSM/KMS** to remove the OCI Vault mapping. After editing and saving, click **TEST CONNECTION** to check the connection. Click **SYNC KEYS** to fetch or refresh keys from the Oracle Cloud console and create or update the corresponding Virtual Security Objects in Fortanix DSM. During synchronization, Fortanix DSM shows “**Scanning for keys**” to retrieve any new keys created at OCI side. #### 4.6.1 Rotate API Key Pair You can rotate the Oracle API key pair used to authenticate Fortanix DSM with OCI Vault. This replaces the existing RSA key pair with a new one and requires the updated public key to be uploaded to the user’s OCI profile. Perform the following steps to rotate the API key pair: 1. In the OCI CDC group detailed view, navigate to the **HSM/KMS** tab. 2. Click **ROTATE API KEY PAIR NOW**. 3. Fortanix DSM generates a new RSA key pair and updates the credential in the OCI CDC group. 4. Copy the new **Public half of API Key Pair (upload to OCI)** value using the copy ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/image(136).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=UCicBlvvrFP8FvWs6hpuWx3ra0PcWKXcFXJQBoRk%2BQI%3D) button. 5. Log in to the Oracle Cloud console and navigate to **User settings** → **API Keys** and paste the new public key to register it. 6. Once the public key is uploaded, return to Fortanix DSM UI and click **TEST CONNECTION** to verify the updated credential. > [!NOTE] > NOTE > > - After rotation, the old key pair becomes inactive. You must upload the new public key to OCI before performing any further BYOK operations. > - After performing the rotation, if you **do not** upload the new public key to OCI, the connection test or any subsequent BYOK operation will fail with the “**The required information to complete authentication was not provided or was incorrect**” error. ### 4.7 Groups Table View After saving the group details, you can view the list of all groups and notice the special symbol ![](https://cdn.us.document360.io/c3bd85d2-4ad8-4d85-9f60-f1c168a3aad9/Images/Documentation/Screenshot (1812)(1).png?sv=2026-02-06&spr=https&st=2026-11-24T20%3A08%3A47Z&se=2026-11-24T21%3A08%3A47Z&sr=b&sp=r&sig=d8uQvl2NW5IB2YcMIYGFWiVOKWVJgpJNGk7XJtMUmfM%3D) next to the newly created group. This symbol indicates that it is an OCI CDC group, distinguishing it from other groups. ### 4.8 User’s View Navigate to the **Users** menu item in the DSM navigation panel and click the user that says “**You**” on the **Users** page to view the user’s detailed view. The detailed view shows all the groups the user belongs to and indicates which groups are mapped to OCI KMS, displaying their status as "connected" or "not connected." ## 5.0 Oracle Cloud Infrastructure Group BYOK and Cloud Native Key Management *For more information on how to perform BYOK key lifecycle management in OCI using Fortanix DSM, refer to the* [*Fortanix DSM – Oracle Cloud Infrastructure Bring Your Own Key*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-byok-bring-your-own-key)*.* *For more information on how to perform native key lifecycle management in OCI using Fortanix DSM, refer to* [*Fortanix DSM - Oracle Cloud Infrastructure Cloud Native Key Management*](/v1/docs/fortanix-dsm-oracle-cloud-infrastructure-cloud-native-key-management)*.* Fortanix Data Security Manager (DSM) is the world’s first cloud service secured with Intel® SGX. With Fortanix DSM, you can securely generate, store, and use cryptographic keys and certificates, as well as other secrets such as passwords, API keys, tokens, or any blob of data. Your business-critical applications and containers can integrate with Fortanix DSM using legacy cryptographic interfaces (PKCS#11, CNG, and JCE) or using the native Fortanix DSM RESTful interface.