【Azure Key Vault】关于Key Vault使用的几个问题

问题一:Key Vault 和 Event Grid

通过将 Key Vault 与事件网格集成,可以在密钥保管库中存储的机密的状态发生更改时收到通知。

状态更改将定义为即将到期的机密(到期前 30 天)、已过期的机密或具有可用新版本的机密。

支持所有三种机密类型(密钥、证书和机密)的通知。无法自定义此时间设置。 

 

问题二: Key Vault  和 Azure Function

在KeyVault中可以直接设置Event,增加事件订阅 (比如:Microsoft.KeyVault.KeyNearExpiry, Microsoft.KeyVault.KeyExpired),并可以直接由事件触发事件处理程序

 

问题三:Key Vault与Log A workspace

 
可以把多个订阅下Key Vault的诊断日志都发送到同一个Log A Workspace中。 然后创建Alert Rule的时候,Scope就可以选择这个Log A Workspace,而不是一个具体的Key Vault资源。实现一个Alert Rule管理所有Key Vault。 
 

问题四:Key Vault 过期通知

当Key Vault中的Key/Secret/Certificate 在将达到过期时间前30天的通知时间,且是只通知一次,不会多次发送通知。 

Monitoring Key Vault with Azure Event Grid https://learn.microsoft.com/en-us/azure/key-vault/general/event-grid-overview

Key Vault integration with Event Grid allows users to be notified when the status of a secret stored in key vault has changed. A status change is defined as a secret that is about to expire (30 days before expiration), a secret that has expired, or a secret that has a new version available. Notifications for all three secret types (key, certificate, and secret) are supported.

 
 
posted @   路边两盏灯  阅读(48)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2021-07-10 【Azure 应用服务】Azure Function App 执行PowerShell指令[Get-Azsubscription -TenantId $tenantID -DefaultProfile $cxt]错误
点击右上角即可分享
微信分享提示