Skip to content

Commit e60edce

Browse files
authored
Merge pull request #127377 from taylorrees1/patch-31
Update manage-oracle-transparent-data-encryption-azure-key-vault.md
2 parents 70014ad + c4ddb4d commit e60edce

File tree

2 files changed

+39
-36
lines changed

2 files changed

+39
-36
lines changed

articles/oracle/oracle-db/manage-oracle-transparent-data-encryption-azure-key-vault.md

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,94 +4,97 @@ description: Comprehensive step-by-step guide for integrating Oracle Exadata Da
44
author: jjaygbay1
55
ms.service: oracle-on-azure
66
ms.collection: linux
7-
ms.topic: overview
7+
ms.topic: how-to
88
ms.date: 04/15/2025
99
ms.custom: engagement-fy23
1010
ms.author: jacobjaygbay
1111
---
1212

13-
# Oracle Exadata Database with Azure Key Vault
14-
Exadata Database Service on Oracle Database@Azure now supports storing and managing Oracle Transparent Data Encryption (TDE) master encryption keys (MEK) using all three tiers of Azure Key Vault (AKV) services:
13+
# Integrate Oracle Exadata Database@Azure with Azure Key vault
14+
In this article, you learn to store and manage Oracle Transparent Data Encryption (TDE) master encryption keys (MEK) for Exadata Database Service on Oracle Database@Azure. You can use all three tiers of the Azure Key Vault (AKV) services:
1515

1616
* **AKV Standard**
1717
* **AKV Premium**
1818
* **AKV Managed HSM**
1919

2020
This integration enables Oracle Database@Azure customers to meet a wide spectrum of **security**, **compliance**, and **key management** needs - ranging from software-based key storage to single-tenant, FIPS 140-3 Level 3 validated hardware security modules.
2121

22-
## Step-by-step integration guide
22+
:::image type="content" source="media\akv-on-odaa-architecture-diagram.png" alt-text="Architecure diagram for Oracle Database at Azure using Azure Key Vault.":::
2323

24-
Integrating **Oracle Database@Azure** (Exadata VM Cluster) with **Azure Key Vault** (AKV) allows you to store and manage Oracle Transparent Data Encryption (TDE) master encryption keys (MEK) in Azure’s secure vault, enhancing security and simplifying key lifecycle management.
2524

26-
## Prerequisites and assumptions
25+
## Prerequisites
2726

2827
Before beginning the integration, ensure the following prerequisites are met:
2928

30-
* **Oracle Database@Azure provisioned**:
31-
You have an **Exadata VM cluster** deployed in Azure via Oracle Database@Azure. This includes a delegated subnet within an Azure Virtual Network for the Exadata VM Cluster. The cluster is up and running, and you have access to the Oracle Cloud Infrastructure (OCI) console for management.
32-
* **Advanced networking eEnabled**: If not already configured, complete the delegated subnet registration as per the [Network planning for Oracle Database@Azure | Microsoft Learn](/azure/oracle/oracle-db/oracle-database-network-plan) guide (This ensures the subnet supports Azure Arc and Private Link capabilities.)
33-
* **Azure Key Vault private connectivity**: Private Endpoint for Azure Key Vault has been configured and reachable by Exadata. DNS has also been configured, and endpoints can be resolved from Exadata.
34-
* **NAT Gateway**: NAT Gateway must be configured on the delegated subnet to complete the Identity Connector setup.
29+
* **Oracle Database@Azure provisioned**: You have an Exadata VM cluster deployed in a delegated subnet within an Azure Virtual Network and you have access to the Oracle Cloud Infrastructure (OCI) console for management.
30+
* **Advanced networking enabled**:If not already configured, ensure Advanced Networking feature is enabled as per the [Network planning for Oracle Database@Azure | Microsoft Learn](/azure/oracle/oracle-db/oracle-database-network-plan)guide to enable Private Link connectivity required for Managed HSM and Azure Arc.
31+
* **Azure Key Vault private connectivity**: Private Endpoint with DNS configuration for Azure Key Vault has been configured and reachable by Exadata. For details, see [Integrate Key Vault with Azure Private Link | Microsoft Learn](/azure/key-vault/general/private-link-service)
32+
* **NAT Gateway**: Outbound internet connectivity is required for the Identity Connector setup to access Microsoft Entra Public endpoint. This connectivity can be achieved by using an Azure NAT gateway, Azure Firewall or a Network Virtual Appliance (NVA) of your choice if you do not have one in the same VNET as your Oracle deployment or in the shared HUB if using Hub/spoke topology.
3533
* **Private Link Scope and Private Endpoint configuration for Azure Arc (optional)**: If using Private Link for the Azure Arc agent installation, the Azure Arc Private Link Scope and Private Endpoint must be configured and reachable from Exadata. DNS must also be configured and endpoints resolvable from Exadata.
3634
* **Azure subscription and permissions**: You have sufficient Azure permissions:
3735
* Azure role **Owner/contributor** on the subscription or resource group where Key Vault is created (to create resources and assign roles).
3836
* Microsoft Entra ID **User Administrator** (or equivalent) if you create security groups for managing permissions.
3937
* Azure **Global Administrator** is not required, but you should be able to obtain a Microsoft Entra ID access token for Arc registration (explained in Step 3).
40-
* **OCI privileges**: In OCI (Oracle Cloud Infrastructure console), ensure you have permission to manage the multicloud integration.
38+
* **OCI privileges**: In the Oracle Cloud Infrastructure (OCI) console, ensure that you have permission to manage the multicloud integration. Oracle recommends an IAM policy in your OCI tenancy such as:
4139

40+
* *allow any-user to manage oracle-db-azure-vaults in tenancy*
41+
* *where request.principal.type = 'cloudvmcluster'*
42+
43+
This IAM policy allows the Exadata VM Cluster resource to manage Key Vault associations.
44+
45+
>[!Note]
46+
>Your cloud administrator might have already set this up; otherwise, it must be added by an OCI admin before configuring the database to use Azure Key Vault.
4247
## Step 1: Create and prepare an Azure Key Vault
4348

44-
**Goal**: Set up an Azure Key Vault to hold your Oracle database encryption keys. If you already have a suitable Key Vault and key, you can use it, but ensure it’s dedicated or appropriately secured for this purpose.
49+
Set up an Azure Key Vault to hold your Oracle database encryption keys. If you already have a suitable Key Vault and key, you can use it, but ensure it’s dedicated or appropriately secured for this purpose.
4550

4651
1. **Create an Azure Key Vault**: You can use the Microsoft Azure portal or Azure CLI.
4752
* **AKV Standard**: Follow [Azure Key Vault CLI Quickstart](/azure/key-vault/general/quick-create-cli)
4853
* **AKV Premium**: Same as Standard but select **Premium SKU**
4954
* **Managed HSM**: Follow [Managed HSM Quickstart](/azure/key-vault/managed-hsm/quick-create-cli)
5055

51-
Ensure the Key Vault’s region matches the region where Oracle Exadata Database@Azure is deployed (for performance and compliance). You can choose Standard or Premium tier (both support integration). Premium is HSM-backed. If you require a dedicated HSM cluster, use Managed HSM (in that case the creation command is different, as shown commented above, and remember Managed HSM requires private networking).
56+
Ensure the Key Vault’s region matches the region where Oracle Exadata Database@Azure is deployed (for performance and compliance). You can choose Standard or Premium tier (both support integration). Premium is HSM-backed. If you require a dedicated HSM cluster, use Managed HSM (in that case the creation command is different, as shown above, and remember ManPrivate Endpoint is strongly recommended for secure access and enhanced access control).
5257

5358
2. **Create a Key in the vault**: Oracle TDE requires an encryption key (Master Encryption Key) to be present in the vault. Create at least one key now. Oracle supports RSA keys for this purpose (2048-bit is typical):
5459

55-
Alternatively, you can import a key if you have specific requirements (BYOK), but for most cases generating a new RSA key in Azure is simplest. Make sure the key is enabled and note the key name. (Oracle later refers to this key by its Azure name when we link the database.)
60+
Alternatively, you can import a key if you have specific requirements (BYOK), but for most cases generating a new RSA key in Azure is simplest. Make sure the key is enabled and note the key name. (Oracle later refers to this key by its Azure name when linking the database.)
61+
62+
**Why create the key now?** During vault registration, Oracle control plane checks that at least one key exists in the vault. If none is found, the vault registration fails. Creating a key upfront avoids that issue.
5663

57-
**Why create the key now?** During vault registration, Oracle’s process checks that at least one key exists in the vault. If none is found, the vault registration fails. Creating a key upfront avoids that issue.
64+
3. **(For Managed HSM)**: If you chose Managed HSM, after provisioning, you must activate the HSM (if not already) and create a key in it:
65+
```az keyvault key create --hsm-name <HSM_Name> -n $KEY_NAME ...```
5866

59-
3. **(For Managed HSM)**: If you chose Managed HSM, after provisioning, you must activate the HSM (if not already) and create a key in it similarly (az keyvault key create --hsm-name <HSM_Name> -n $KEY_NAME ...). Also, note that Managed HSM uses a different permission model (local HSM roles). We’ll cover the role assignments in the next step.
67+
Note that Managed HSM uses a different permission model (local HSM roles). We’ll cover the role assignments in the next step.
6068

61-
At this point, you have an Azure Key Vault (or HSM) ready, with a master key that is used for Oracle TDE. Next, we need to set up permissions so that the Oracle Exadata VM cluster can access this vault and key securely.
69+
At this point, you have an Azure Key Vault (or HSM) ready, with a master key that is used for Oracle TDE. Next step is to set up permissions so that the Oracle Exadata VM cluster can access this vault and key securely.
6270

6371
## Step 2: Configure Microsoft Entra ID permissions for Key Vault access
6472

65-
**Goal**: Allow the Oracle Exadata VM Cluster (specifically, the Azure Arc identity of its VMs) to access the Key Vault and perform key operations (like unwrap keys, create new key versions for rotation, etc.), without over-privileging. We achieve this via Microsoft Entra ID Role-Based Access Control (RBAC). The general approach is:
73+
Allow the Oracle Exadata VM Cluster specifically, the Azure Arc identity of its VMs, to access the Key Vault and perform key operations (like unwrap keys, create new key versions for rotation, etc.), without over-privileging. This can be achieved with Microsoft Entra ID Role-Based Access Control (RBAC). The general approach is as follows:
6674

6775
* Create a security group in Microsoft Entra ID.
6876
* After the Oracle VM Cluster is Arc-enabled (next step), add the machine’s managed identity to this group.
6977
* Assign Key Vault roles to the group.
7078

7179
This way, if you have multiple database VMs or clusters, you can manage their access via group membership and roles.
7280

73-
1. **Create an Microsoft Entra ID security group** (optional but recommended):
81+
1. **Create a Microsoft Entra ID security group** (optional, recommended):
7482
* You can create a group via Azure portal (Microsoft Entra ID blade > Groups > New Group) or CLI:
7583

76-
Make note of the $GROUP_OBJECT_ID. This group remains empty for now. We add members in Step 3 after the Arc connector is set up (because the identities that need access is created during that process).
84+
Make note of the $GROUP_OBJECT_ID. This group remains empty for now. You add members in [Step 3](#Step 3: Set Up the Oracle Identity Connector) after the Arc connector is set up; the identities needed to access the Arc connector is created in that process.
7785
2. **Assign Azure Key Vault roles**: We assign two roles to the security principal (the group, in this case) for the Key Vault:
78-
* **Key Vault crypto officer** – Allows management of keys (create, delete, list key versions) and performing cryptographic operations (unwrap/decrypt, etc.).
86+
* **Key Vault crypto officer** – Allows management of keys (create, delete, list key versions) and performance of cryptographic operations (unwrap/decrypt, etc.).
7987
* **Key Vault reader** – Allows viewing Key Vault properties
8088
3. Using Azure CLI, assign these roles on the Key Vault scope:
8189

8290
> [!NOTE]
83-
> If you prefer to use Key Vault access policies instead of RBAC, you could use az keyvault set-policy to allow an Entra ID principal to perform "nwrap key" and "et key" operations. However, the RBAC method shown is the modern approach and aligns with Oracle’s documented roles.
91+
> If you prefer to use Key Vault access policies instead of RBAC, use az keyvault set-policy to allow an Entra ID principal to perform "nwrap key" and "et key" operations. However, the RBAC method is the modern approach and aligns with Oracle’s documented roles.
8492
8593
4. For **Managed HSM**:
8694
* Azure RBAC uses a different set of roles. According to Oracle’s guidance, for Managed HSM you should assign the Azure RBAC Reader role for the HSM resource. Then, use the HSM local RBAC to assign "Managed HSM Crypto Officer" and "Managed HSM Crypto User" to your principal. This can be done in the Azure portal’s Managed HSM access control page. The security group can also be used for these assignments. Ensure that the principal has been added as an HSM Crypto Officer at minimum. Crypto Officer can generate new key versions for rotation, and Crypto User can use the keys.
8795

88-
5. **Double-check roles**: After assignments, you can verify:
89-
This should list the roles assigned to the group for the vault. There’s no harm in completing this role assignment step now. If the group has no members yet, the permissions are not used until a member is added.
90-
91-
At this stage, Azure is configured: you have a vault with a key, and a Microsoft Entra ID group with appropriate access to that vault. Now we move to the Oracle side to set up the integration.
92-
9396
## Step 3: Set Up the Oracle Identity Connector
94-
**Goal**: Set up the Oracle Identity Connector. This automatically configures the Azure Arc Agent to allow communication with Azure services (Key Vault) using an Azure identity.
97+
Set up the Oracle Identity Connector. This automatically configures the Azure Arc Agent to allow communication with Azure services (Key Vault) using an Azure identity.
9598

9699
When you create an Identity Connector via the OCI console, each VM in the cluster is registered as an Azure Arc-enabled server in your Azure subscription. This grants the VMs an identity in Microsoft Entra ID (a managed identity) which is applied for Key Vault access.
97100

@@ -110,7 +113,7 @@ Here’s how to create the connector:
110113
* Log in to the OCI Console for Oracle Database@Azure. Navigate to your Exadata VM Cluster resource. (Menu: Oracle Database > Oracle Exadata Database Service on Dedicated Infrastructure > Exadata VM Clusters > click your cluster name.)
111114
* On the VM Cluster details page, find the "Multicloud Information" section. You should see an Identity Connector field, which likely shows "None" if not set up yet.
112115

113-
Click Create or Setup Connector. A form appears.
116+
Select Create or Setup Connector. A form appears.
114117

115118
:::image type="content" source="media/oracle-create-identity-connector.png" alt-text="Screenshot that shows where to select create for identity connector.":::
116119

@@ -133,9 +136,9 @@ Here’s how to create the connector:
133136
* Oracle’s console shows the Identity Connector status. Navigate to *Database Multicloud Integrations > Identity Connectors* to verify the connector exists. On the VM Cluster page, the Identity Connector field should now show the connector name instead of "None."
134137

135138
### Troubleshooting tip 
136-
If the connector creation fails, double-check the token (it might have expired – generate a fresh one) and Tenant ID. Also verify that the Azure subscription ID and resource group displayed are correct. The user generating the token must have rights to create Arc resources (Azure automatically creates a service principal for the Arc agent. Make sure the Azure resource provider Microsoft.HybridCompute is registered in your subscription).
139+
If creating the connector fails, double-check the token (it might have expired – generate a fresh one) and Tenant ID. Also verify that the Azure subscription ID and resource group displayed are correct. The user generating the token must have rights to create Arc resources. Azure automatically creates a service principal for the Arc agent. Make sure the Azure resource provider Microsoft.HybridCompute is registered in your subscription.
137140

138-
3. **Add Arc Machine Identities to Microsoft Entra ID group**: Once the connector is up, your Exadata VMs now each has a managed identity in Microsoft Entra ID. We need to grant these identities the Key Vault access (set up in Step 2). If you used a security group:
141+
3. **Add Arc Machine Identities to Microsoft Entra ID group**: Once the connector is up, your Exadata VMs now each has a managed identity in Microsoft Entra ID. We need to grant these identities the Key Vault access (set up in [Step 2](#Step 2: Configure Microsoft Entra ID permissions for Key Vault access). If you used a security group:
139142
* Find the object IDs of the new Arc server identities. In Azure portal, go to the Microsoft Entra ID blade > Entities > Enterprise applications or the Azure Arc resource – the principal Object ID might be listed. An easier way: use Azure CLI to list Azure Arc connected machines and get their principal IDs:
140143

141144
Each Arc machine has an identity with a principalId. Alternatively:
@@ -150,14 +153,14 @@ Here’s how to create the connector:
150153

151154
## Step 4: Enable Azure Key Vault key management on the VM Cluster
152155

153-
**Goal**: Activate the Key Vault integration at the Exadata VM Cluster level. This installs the required Oracle library/plugin on the cluster VMs that allows databases to use Azure Key Vault as a keystore.
156+
Activate the Key Vault integration at the Exadata VM Cluster level. This installs the required Oracle library/plugin on the cluster VMs that allows databases to use Azure Key Vault as a keystore.
154157

155158
In the OCI console:
156159

157160
* Go to the Exadata VM Cluster details page where you created the connector.
158161
* In the Multicloud Information section, find Azure key store or Azure Key Management status. It should currently say "Disabled."
159-
* Click Enable next to Azure key store.
160-
* Confirm the action in the dialog that appears (click Enable).
162+
* Select Enable next to Azure key store.
163+
* Confirm the action in the dialog that appears (select Enable).
161164

162165
:::image type="content" source="media/oracle-enable-azure-key-management.png" alt-text="Screenshot that shows where to Enable Azure key management in the OCI console.":::
163166

@@ -328,4 +331,4 @@ Finally, remember that this integration bridges two cloud services – so ensure
328331

329332
* Learn about [Azure Key Vault Overview](/azure/key-vault/general/overview)
330333

331-
* Learn about [Managed HSM Documentation](/azure/key-vault/managed-hsm/overview)
334+
* Learn about [Managed HSM Documentation](/azure/key-vault/managed-hsm/overview)
54.8 KB
Loading

0 commit comments

Comments
 (0)