Welcome
A database backup is not recoverable if the recovery team cannot access the TDE keys that encrypted it. This article shows how to protect Oracle AI Database wallet backups in a separately administered Azure tenant using Azure Blob Object Replication. It complements the broader ransomware-recovery architecture introduced in Ransomware Recovery design patterns for Oracle AI Databases in Multicloud environments. The parent article describes how to prepare a separate recovery environment. Here, we focus on one dependency that deserves its own recovery plan: the database encryption wallet. This is important because all Oracle AI Databases that are deployed in the cloud require encryption at-rest with Oracle Transparent Data Encryption (TDE) as mentioned in the Oracle AI Database Reference, and the keys can be stored in a supported Key Management System (KMS) or Oracle Database Wallets. For Exadata Database Service on Oracle Database@Azure, Oracle Key Vault, OCI Vault or Azure Key Vault may be used. This post focuses exclusively on wallets.
We will use Azure Blob object replication to preserve wallet files in a separately administered Azure tenant before an incident occurs. The companion article, Restore a Database from Backup in Another Tenancy with the OCI API, covers the database restore operation. Together, these articles address the architecture, the protected recovery artifacts, and the restore workflow.
Introduction
Consider a production Oracle AI Database@Azure environment whose Azure tenant has been compromised. The incident-response team has isolated production and cannot rely on the automation or secrets used for it. A recovery team must rebuild a trusted database in a different Azure tenant. Database backups are available, but can the team also obtain the encryption material and credentials needed to use them?
The design in this post addresses that question by replicating a backed-up Transparent Data Encryption (TDE) wallet from a production Blob container to a container in the recovery tenant. Each tenant has its own administrators and storage account. Azure Storage performs the replication, so the design does not require the tenants to be connected.
Why protect a wallet in another Azure tenant
A TDE wallet contains encryption keys needed to access encrypted database data; thus, preserving only the database backup and not the wallet can leave a recovery team without a usable decryption path. This makes it important to back up the wallet after changes to its keys.
For example, a database may be recoverable to Monday, while its wallet was updated on Tuesday and production was compromised on Wednesday. The team needs a trusted wallet containing the keys required for Monday’s recovery, together with the corresponding password. The newest file is not automatically the right choice, and a file dated before an incident is not sufficient evidence that it contains all required keys.
We recommend treating Oracle Database TDE wallet recovery as a controlled process: store wallet backups in the production Azure Storage account, verify their successful replication to a storage account in a recovery subscription under a separate Microsoft Entra tenant, and protect older usable versions. Each replicated wallet backup contains the TDE master encryption keys captured when that backup was taken. The recovery team must be able to retrieve and open the wallet needed for the intended database recovery point, using the applicable wallet password, without accessing or relying on the production tenant.
Note that the tooling will automatically backup the wallet file for you to Oracle managed object storage. The restore process will automatically restore the most recent wallet file. The assumption is that the most recent wallet file can be “trusted” to contain all needed encryption keys.
If you are not using the tooling to back up your database and/or you want an extra level of protection to ensure that you can easily restore a trusted wallet file, follow this process.
Cross tenant design details
The production environment uses an Azure tenant and a subscription in Region A. The ransomware recovery environment uses a separate and independent Azure tenant and a separate subscription in the same region as the production environment. Figure 1 below shows the end to end architecture of both tenants:

The TDE wallet from the Oracle Database environment is backed up and uploaded as a blob to a source container in the production Azure Storage account, the process used for the backup is completely up to you. This backup mechanism is integrated into the key-rotation workflow so that each successful TDE master-key change triggers a fresh backup containing the new key. The storage write permissions this backup job uses are limited to the source container. An Azure Storage object-replication policy then copies the backup asynchronously to a destination container in a recovery storage account and recovery administrators manage destination access and retention, monitor replication, and select the appropriate wallet for a restore. Figure 2 shows the interaction between the storage accounts for replicating the TDE wallet:

Step 1 Configure the storage accounts
Create a dedicated Azure Blob for storing Oracle AI Database wallet files in both Production and Ransomware recovery accounts with the following functionalities:
| Setting | Production account | Ransomware Recovery account |
| Account and blob type | General-purpose v2 or premium block blob. Store wallet artifacts as block blob | Same supported account types; receive wallet artifacts as block blobs |
| Hierarchical namespace | Disabled | Disabled |
| Blob versioning | Enabled | Enabled; required for version-level WORM |
| Blob change feed | Enabled for replication | Not required for receiving replication |
| Cross-tenant replication | Explicitly enabled | Explicitly enabled |
| Blob Soft Delete | Enabled | Enabled before applying WORM policies |
| Container Soft Delete | Enabled | Enabled |
| WORM immutability | Enabled | Required: enable version-level immutability and configure a locked default time-based retention policy on the recovery wallet container |
Step 2 Keep client access private and validate the network controls
Use a Blob private endpoint and private DNS for the publisher in production, and a separate private endpoint and DNS configuration for recovery clients. Each client needs access to its own storage account. The service-managed replication path does not require joining the two VNets.
Creating a private endpoint does not disable the public endpoint. Configure public-network access and firewall rules deliberately and disable anonymous blob access.
Step 3 Create the policy in the recovery account and apply it in production
Microsoft’s JSON handoff workflow allows each administrator to configure only their own account. Create both containers first. Then have the recovery administrator create the destination policy and share its generated definition with the production administrator.
The following JSON example shows how the policy needs to be created:
{
"properties": {
"policyId": "default",
"sourceAccount": "/subscriptions/<MAIN_SUBSCRIPTION_ID>/resourceGroups/<MAIN_RESOURCE_GROUP_NAME>/providers/Microsoft.Storage/storageAccounts/<MAIN_STORAGE_ACCOUNT_NAME>",
"destinationAccount": "/subscriptions/<CYBERREC_SUBSCRIPTION_ID>/resourceGroups/<CYBERREC_RESOURCE_GROUP_NAME>/providers/Microsoft.Storage/storageAccounts/<CYBERREC_STORAGE_ACCOUNT_NAME>",
"rules": [
{
"ruleId": "",
"sourceContainer": "<MAIN_STORAGE_ACCOUNT_CONTAINER>",
"destinationContainer": "<CYBERREC_STORAGE_ACCOUNT_CONTAINER>",
"filters": {
"minCreationTime": "1601-01-01T00:00:00Z"
}
}
]
}
In the recovery account, open Data management, then Object replication, and choose Upload replication rules. Upload the file and create the policy. Download the generated rules from that policy and transfer the file through the approved configuration handoff process.
The production administrator imports this downloaded file into Object replication on the source account, making sure the generated policy ID, rule IDs, account IDs, container names, and filters are not modified.
Test by recovering the wallet and restoring the database
Select the database recovery point using the incident timeline and available backup history. Then select a trusted wallet that contains the required keys and obtain its corresponding password. Note that restoring the wallet is not enough to restore the database, the password is also required, and we recommend that it is stored and recovered independently from the wallet. This may require recovery-tenant access controls, break-glass procedure and a tested ownership model.
For a versioned receiving container, use Azure CLI to list versions and download the selected destination version. Run these examples from a trusted host with network access and recovery-side blob read permission. Replace every placeholder. Azure CLI supports exact-version downloads.
az storage blob list \
--account-name ‘<recovery-storage-account>’ \
--container-name ‘<recovery-container-name>’ \
--prefix ‘<wallet-name>’ \
--include v --auth-mode login --output json
Closing Thoughts
A separate Azure tenant gives the recovery team a useful administrative boundary. Azure Blob object replication can keep wallet artifacts available there without connecting production and recovery VNets.
Start with one representative database and test a recovery with production Azure access unavailable. Include a wallet change, a damaged source object, and selection of an older recovery point.
To summarize, the following storage account features are either recommended or required and configured:
| Feature Name | State |
| Blob type | General-purpose v2 |
| Hierarchical namespace | Disabled |
| Blob versioning | Enabled |
| Blob change feed | Enabled |
| Cross-tenant replication | Enabled |
| Blob Soft Delete | Enabled |
| Container Soft Delete | Enabled |
| WORM immutability | Enabled |
| Private Endpoint for the Blob Storage Account | Enabled |
| Public Access to the Blob Storage Account | Disabled |
