---
title: Monitor Azure Key Vault Keys, Secrets, and Certificates with Nodinite
description: Monitor Azure Key Vaults with Nodinite. Detect ageing or expiring Keys, Secrets, and Certificates before they break your integrations, get alerts on Warning and Error thresholds, and share role-based access without the Azure Portal.
---

# <i class="fal fa-display" aria-hidden="true"></i> Monitoring Key Vaults in Azure

An expired Secret or Certificate stops integrations as surely as a server outage, and it always happens on the day nobody remembered. The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Monitoring Agent][Azure Agent] keeps track of the age and expiry of the **Keys**, **Secrets**, and **Certificates** in your Azure Key Vaults, warns you in time, and gives the right people the details—without relying on the Azure Portal.

* ✅ **Instant detection** of ageing or expiring Keys, Secrets, and Certificates  
* ✅ **Warning and Error thresholds** that you adjust per Key Vault with [Remote Actions][]  
* ✅ **Alerts outside <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>** through [Alarm Plugins][], for example email or an HTTP webhook  
* ✅ **Role-based self-service** for teams through [role-based][Roles] [Monitor Views][]  

![A Key Vault in Error with an expired secret, its Details and the Edit thresholds modal, animated walkthrough (7.12)][2]  
*Animated walkthrough: a Key Vault in Error because a secret has expired, its **Details** with the expiry dates and status of each Key, Secret, and Certificate, and **Edit** with the Warning and Error limits in days. See [Managing Key Vault][Azure Agent - Managing Key Vault] for both Remote Actions.*  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Certificate monitoring in Azure Key Vault is available from version <strong>7.7.x</strong>.</p></div>
</aside>

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> continuously monitors the age and status of **Keys**, **Secrets**, and **Certificates** in your Azure Key Vaults. You set and adjust monitoring thresholds, receive actionable alerts, and use remote commands to resolve issues quickly. For details on available [Remote Actions][], see the [Managing Key Vault][Azure Agent - Managing Key Vault] page.

![A Key Vault Resource in Error in a Monitor View filtered on the Key Vault Category (7.12)][1]  
*Example: a monitored Key Vault in a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitor View][Monitor Views], in Error because "One or more Key Vault Secrets have expired."*  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> How Monitoring Works

The [Azure Monitoring Agent][Azure Agent] discovers your Key Vaults with the [Azure REST API][], checks the expiry of each Key, Secret, and Certificate against your thresholds, and reports one [Resource][Resources] per Key Vault to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Service][]. Users with access to a [Monitor View][Monitor Views] see the state in the [Web Client][], and [Alarm Plugins][] push state changes to the people on duty.

<div class="mermaid">
graph LR
    KV["fa:fa-unlock-alt Key Vault<br/>Keys, Secrets, Certificates"] -->|"Azure REST API"| AG["fa:fa-monitor-waveform Azure Monitoring Agent"]
    AG --> OK["fa:fa-check OK<br/>Within thresholds"]
    AG --> WA["fa:fa-triangle-exclamation Warning<br/>Warning threshold breached"]
    AG --> ER["fa:fa-xmark Error<br/>Error threshold breached"]
    AG --> UN["fa:fa-ban Unavailable<br/>Network or security problem"]
    WA -->|"State change"| AP["fa:fa-bell Alarm Plugins"]
    ER -->|"State change"| AP
    UN -->|"State change"| AP
    WA --> RA["fa:fa-edit Edit thresholds<br/>Remote Action"]
    ER --> RA
    style OK fill:#93d16d
    style WA fill:#FFD525
    style ER fill:#c33d34,color:#fff
    style UN fill:#c33d34,color:#fff
    style AG fill:#2678BD,color:#fff
    style RA fill:#2678BD,color:#fff
</div>

*Diagram: The agent evaluates each Key Vault into OK (green), Warning (yellow), or Error and Unavailable (red) based on how close its Keys, Secrets, and Certificates are to expiry; state changes raise alerts, and you adjust thresholds with the Edit Remote Action (blue).*

## <i class="fal fa-sliders-h" aria-hidden="true"></i> Monitoring Features

* <i class="fal fa-traffic-light-go" aria-hidden="true"></i> **State Evaluation** – <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> evaluates the state of each Key Vault according to your defined policy.  
    >If <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> can't check your Key Vault items' state, chances are no one else can use them either.  
* <i class="fal fa-radar" aria-hidden="true"></i> **Automatic Discovery** – The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Agent][] uses the [Azure REST API][Azure REST API] to automatically discover Key Vaults in the Subscriptions you add in the agent [Configuration][].  
* <i class="fal fa-folder" aria-hidden="true"></i> **Category-based Monitoring** – <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> groups [Resources][] by [Categories][].  
* <i class="fal fa-users-class" aria-hidden="true"></i> **Role-Based Access** – Share access to individual items using one or more [Monitor Views][].  

## <i class="fal fa-traffic-light-go" aria-hidden="true"></i> State Evaluation for Key Vaults

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> presents each monitored Key Vault as a [Resource][Resources]. For example, three Key Vaults appear as three separate **Resources** in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

* <i class="fal fa-lightbulb-on" aria-hidden="true"></i> The [Resource][Resources] name matches the deployed Key Vault name.  
* <i class="fal fa-folder" aria-hidden="true"></i> Monitored Key Vaults belong to the 'Key Vault' [Category][Categories].  
* <i class="fal fa-box-open" aria-hidden="true"></i> The [Application][Applications] name follows this pattern: `Configuration name/Resource Group Name`  

>Many other Azure-related [Categories][] exist—see the [Azure Logging and Monitoring Overview][].

Each [Resource][Resources] evaluates to a state (OK, Warning, Error, Unavailable). You can override the evaluation by configuring the [Expected State][] for any <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Resource][Resources].

### <i class="fal fa-file-certificate" aria-hidden="true"></i> Key Vault

For **Key Vault** [Resources][], the state evaluates as described in the table below:  

|State|Status|Description|<i class="fal fa-bolt" aria-hidden="true"></i> Actions|  
|---|---|---|---|  
|🚫 <span title="Used to indicate an error/fatal condition">Unavailable</span>|**Resource not available**|<ul><li>Evaluation of the 'Key Vault' is not possible either due to network or security-related problems</li></ul>|Review [prerequisites][] and the [firewall settings][Firewall]|  
|❌ <span title="Used to indicate that an error or abnormal condition has been detected">Error</span>|**Error threshold is breached**|One or more Secrets, Keys, or Certificates is about to expire, or is expired|<i class="fal fa-edit" aria-hidden="true"></i> [Edit][Azure Agent - Managing Key Vault - Edit]|  
|⚠️ <span title="Used to indicate an unexpected but not invalid state">Warning</span>|**Warning threshold is breached**|One or more Secrets, Keys, or Certificates is about to expire, or is expired|<i class="fal fa-edit" aria-hidden="true"></i> [Edit][Azure Agent - Managing Key Vault - Edit]|  
|✅ <span title="Used to indicate normal operation">OK</span>|**Within user-defined thresholds**|No Secrets, Keys, or Certificates breach the thresholds|<i class="fal fa-circle-info" aria-hidden="true"></i> [Details][Azure Agent - Managing Key Vault - Details]|  

If the agent can't read the Key Vault, check that the App Registration has the rights listed in [Azure user rights and services][Prerequisites - Azure rights] and the [Azure Application Access][AzureApplicationsAccess] guide.

## <i class="fal fa-shield-halved" aria-hidden="true"></i> Other Certificates and Secrets Nodinite Monitors

Key Vault is one of several places where expiring credentials hide. Combine this page with:

* <i class="fal fa-user-lock" aria-hidden="true"></i> [Monitoring App Registration][] for the client secrets and certificates of your Azure App Registrations.  
* <i class="fal fa-file-certificate" aria-hidden="true"></i> [Monitoring Certificate][] for the Azure Certificate resources in your Subscriptions.  
* <i class="fal fa-clouds" aria-hidden="true"></i> [Azure API Management Certificate monitoring][Monitoring APIM Certificate] for certificates in API Management Services.  
* <i class="fab fa-windows" aria-hidden="true"></i> [Windows Certificates][] for certificates in the Windows certificate stores.  
* <i class="fal fa-globe" aria-hidden="true"></i> [Web Service Certificates][Web Service Agent - Monitor Certificates] for the HTTPS certificates of Web Applications, Web Services, and APIs.  

## <i class="fal fa-history" aria-hidden="true"></i> Alert history for Key Vault

During root cause analysis or other purposes, it helps to understand how often your Key Vault problems happen. If your [Monitor View][Monitor Views] allows it, you can search for historical state changes for the provided time span, either for all your Key Vaults or individually. The generic instructions on how to [Add or manage Monitor View][] detail this topic.

|Search|Resource history|  
|---|---|  
|<img alt="Search for alert history for all resources in the Monitor View (7.12)" src="https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Monitor/SearchHistoryByDateTime.png" /><br/>*Search for alert history for all resources in the Monitor View*|<img alt="Alert history for the selected Key Vault item (7.12)" src="https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/ResourceHistory.png" /><br/>*Alert history for the selected Key Vault item*|  

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Use the [Troubleshooting][] guide to find the FAQ and answers to known problems.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-wrench" aria-hidden="true"></i> [Manage Key Vaults][Azure Agent - Managing Key Vault]  
* <i class="fal fa-edit" aria-hidden="true"></i> [Edit Key Vault thresholds][Azure Agent - Managing Key Vault - Edit]  
* <i class="fal fa-gear" aria-hidden="true"></i> [Configure the Azure Monitoring Agent][Configuration]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Monitoring Agent][Azure Agent]  
* <i class="fal fa-cloud" aria-hidden="true"></i> [Azure Logging and Monitoring Overview][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-shield-check" aria-hidden="true"></i> [Firewall settings for the Azure agent][Firewall]  
* <i class="fal fa-user-lock" aria-hidden="true"></i> [Monitoring App Registration][]  
* <i class="fal fa-file-certificate" aria-hidden="true"></i> [Monitoring Certificate][]  
* <i class="fal fa-lightbulb-on" aria-hidden="true"></i> [Resources][]  
* <i class="fal fa-folder" aria-hidden="true"></i> [Categories][]  
* <i class="fal fa-box-open" aria-hidden="true"></i> [Applications][]  
* <i class="fal fa-bell" aria-hidden="true"></i> [Alarm Plugins][]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [Troubleshooting][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/ResourcesInMonitorView.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/AzureKeyVault_SecretExpiry.gif

[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[Azure Agent]:https://docs.nodinite.com/logging-and-monitoring/azure/overview/
[Azure Agent - Managing Key Vault]:https://docs.nodinite.com/logging-and-monitoring/azure/features/key-vault/managing-key-vault/
[Azure Agent - Managing Key Vault - Details]:https://docs.nodinite.com/logging-and-monitoring/azure/features/key-vault/managing-key-vault/#fa-circle-info-details
[Azure Agent - Managing Key Vault - Edit]:https://docs.nodinite.com/logging-and-monitoring/azure/features/key-vault/managing-key-vault/#fa-edit-edit-thresholds
[Azure Logging and Monitoring Overview]:https://docs.nodinite.com/logging-and-monitoring/azure/features/overview/
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[AzureApplicationsAccess]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access/
[Categories]:https://docs.nodinite.com/administration/monitor-management/categories/features/what-is-a-category/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/configuration/
[Expected State]:https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/
[Firewall]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/prerequisites/#fa-shield-check-what-firewall-settings-are-required-for-the-azure-agent
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring APIM Certificate]:https://docs.nodinite.com/logging-and-monitoring/azure/features/api-management/certificate/monitoring-certificate/
[Monitoring App Registration]:https://docs.nodinite.com/logging-and-monitoring/azure/features/app-registration/monitoring-app-registration/
[Monitoring Certificate]:https://docs.nodinite.com/logging-and-monitoring/azure/features/certificate/monitoring-certificate/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/prerequisites/
[Prerequisites - Azure rights]:https://docs.nodinite.com/logging-and-monitoring/azure/getting-started/prerequisites/#fa-cloud-what-azure-user-rights-and-services-does-the-azure-agent-require
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure/troubleshooting/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Web Service Agent - Monitor Certificates]:https://docs.nodinite.com/logging-and-monitoring/web-services/features/monitoring-certificates/
[Windows Certificates]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/certificates/overview/