I have an EU storage account (v1) and an EU Key Vault. I do client side encryption when saving and retrieving the blobs. Encryption/Decryption works in this scenario.
I am re-creating my resources in the ZA region and have created a new storage account (v2) and a new key vault. I have copied the blobs across using MS Azure Storage Explorer. Both key vaults have the same secret but with a different name.
I cannot decrypt the blobs on the ZA storage even though the secrets are the same.
I have noticed that the copied blobs on the ZA storage have metadata called "encryptiondata" which points to the EU key vault.
Is there a way to copy the encrypted blobs from EU to the ZA storage account and use the ZA keyvault to decrypt them?
The only solution I can think of is to write a method to do the following:
- Get EU blob and decrypt with EU secret.
- Write decrypted data to ZA storage with ZA secret.
Thanks.