Azure警报关键保险库证书

发布于 2025-01-21 18:45:01 字数 67 浏览 3 评论 0原文

我正在尝试设置密钥保险库证书到期的警报。因此,我得到了一个Azure警报说何时证书将在X天到期。

非常感谢

I am trying to set up alerts for key vault certificate expiration. So I get an azure alert say when the cert is about to expire in X days.

Many thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只涨不跌 2025-01-28 18:45:01

要设置密钥保险库证书到期的警报,请尝试以下步骤:

azure键保管库提供了触发事件的机制,当钥匙库中存储的秘密状态发生了变化时。与事件网格集成的密钥保险库集成允许在钥匙库中存储的秘密状态发生变化时通知用户。

您可以使用Microsoft.Keyvault.certificateNearexpiry触发电流版本即将到期(30天),如关键保险库记录的到期日期所述。

  • 要创建事件网格订阅**,转到密钥库 - > 活动 - >开始 - >逻辑应用 **
  • 配置事件网格触发选择您的 subscription ,您的资源类型为 microsoft.keyvault.vaults ,然后选择您的密钥保险库名称 - >单击另存为
  • 以及逻辑应用程序 事件网格系统主题
    在逻辑应用程序中自动触发选择事件类型为microsoft.keyvault.certificatenearexpiry

更多详细信息,请 此链接:

https://azureintegrations.com/2021/2021/03/03/20/monitoring-andering-and--alerting-for -azure-key-vault/

To set up alerts for key vault certificate expiration, try below steps:

Azure Key vault provides mechanism to trigger events when the status of a secret stored in key vault has changed. Key Vault integration with Event Grid allows users to be notified when the status of secret stored in key vault has changed.

you can make use of Microsoft.KeyVault.CertificateNearExpiry Triggers when the currents version is about to expire (30 days) as mentioned in the expiry date of the Key vault record.

  • To create event grid subscription**, go to key vault -> Events -> get started -> logic apps**
  • To configure the Event Grid Trigger select your subscription , your Resource Type as Microsoft.KeyVault.vaults and select your key vault name -> click Save As
  • Along with logic apps Event Grid System Topic is created
    automatically in the logic app triggered select event type as Microsoft.KeyVault.CertificateNearExpiry

To more in detail please refer this link :

https://azureintegrations.com/2021/03/20/monitoring-and-alerting-for-azure-key-vault/

一张白纸 2025-01-28 18:45:01

如果您对电子邮件保持不错,则可以使用证书联系人,一种特定于密钥库的功能。
首先,您需要在此处提供通知收件人的电子邮件地址:

“在此处输入图像说明”

将为每个存储的证书发送通知/azure/键值/证书/教程 - rottate-crotate-crotate#update-lifecycle-attributes of a存储的认证“ rel =“ nofollow noreferrer”>发行策略生命周期属性设置为 email所有联系人(可以是到期的天数,也可以是终生的百分比):

“在此处输入图像说明”

请注意,尽管事实是消息,但也可以对现有证书进行更新在这个窗口的顶部,相反。

设置此设置将导致自动发送通知:

”在此处输入图像说明”

If you're fine with email alerting you can use Certificate Contacts, a functionality specific to Key Vault.
First you need to provide the email addresses of notifications recipients here:

enter image description here

Notifications will be sent for each stored certificate that has its Issuance Policy lifecycle attributes set to Email all contacts (can be either the number of days to expiry or at percentage of a lifetime):

enter image description here

Note that it can be updated also for the existing certificates, despite the fact that the message at the top of this window says the opposite.

Setting this up will result in notifications being sent automatically:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文