简体   繁体   English

Azure Key Vault - 异地复制?

[英]Azure Key Vault - Geo Replication?

Does Azure Key Vault supports Geo-Replication between the regions? Azure Key Vault 是否支持区域间的 Geo-Replication? I don't see any options?我没有看到任何选项?

在此处输入图像描述

https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance https://docs.microsoft.com/en-us/azure/key-vault/general/disaster-recovery-guidance

"The contents of your key vault are replicated within the region and to a secondary region at least 150 miles away but within the same geography to maintain high durability of your keys and secrets. See the Azure paired regions document for details on specific region pairs." “您的密钥保管库的内容在该区域内复制到至少 150 英里外但在同一地理区域内的次要区域,以保持您的密钥和机密的高持久性。有关特定区域对的详细信息,请参阅 Azure 配对区域文档。 ”

From @Karthikeyan Vijayakumar comment above:来自@Karthikeyan Vijayakumar 上面的评论:

However I have the application deployed on both West US (primary) and East US(secondary) and I want to sync between the regions.但是,我在美国西部(主要)和美国东部(次要)部署了应用程序,我想在这些区域之间进行同步。

You don't need to replicate your Key Vault instance to make it available to your applications in both regions.你不需要复制你的 Key Vault 实例来使它对你在两个区域中的应用程序可用。

Simply call the URL ( https://<vault-instance-name>.vault.azure.net ), Azure DNS will dynamically resolve to the active region.只需调用 URL ( https://<vault-instance-name>.vault.azure.net ),Azure DNS 将动态解析到活动区域。 By default, the active region is the region where you created the instance.默认情况下,活动区域是您创建实例的区域。 In the event this region is unavailable, the DNS will resolve to the geo-replica, hosted in the corresponding paired region .如果该区域不可用,DNS 将解析为托管在相应配对区域中的地理副本。

The problem with this approach is that you still on the mercy of Microsoft, as the service will be reestablished only if they decide to failover the region.这种方法的问题在于您仍然受制于 Microsoft,因为只有当他们决定对该区域进行故障转移时,服务才会重新建立。

Short story long: There is no user managed geo replication of Azure Key vault like Azure SQL for example.长话短说:没有 Azure Key vault 的用户管理地理复制,例如 Azure SQL。 In your case, you need to build a workflow that replicates the values between your primary and secondary key vaults.在您的情况下,您需要构建一个工作流来复制主密钥保管库和辅助密钥保管库之间的值。

Backup and Restore: https://learn.microsoft.com/en-us/azure/key-vault/general/backup?tabs=azure-cli备份还原: https://learn.microsoft.com/en-us/azure/key-vault/general/backup?tabs=azure-cli

You can use these capabilities to build your workflow.您可以使用这些功能来构建您的工作流程。 You can use the changelog to track changes to your key vault, and trigger a backup/Restore or you can schedule it like once a day.您可以使用更改日志来跟踪对密钥保管库的更改,并触发备份/还原,或者您可以将其安排为每天一次。

A change tracking is better as you can only replicate changes and not the entire key vault.更改跟踪更好,因为您只能复制更改,而不能复制整个密钥保管库。 Regards问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM