---
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.
---

# :fa-display: 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 :Nodinite: [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 :Nodinite:** 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.*  

>[!NOTE]
>Certificate monitoring in Azure Key Vault is available from version **7.7.x**.

:Nodinite: 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 :Nodinite: [Monitor View][Monitor Views], in Error because "One or more Key Vault Secrets have expired."*  

## :fa-diagram-project: 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 :Nodinite: [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).*

## :fa-sliders-h: Monitoring Features

* :fa-traffic-light-go: **State Evaluation** – :Nodinite: evaluates the state of each Key Vault according to your defined policy.  
    >If :Nodinite: can't check your Key Vault items' state, chances are no one else can use them either.  
* :fa-radar: **Automatic Discovery** – The :Nodinite: [Azure Agent][] uses the [Azure REST API][Azure REST API] to automatically discover Key Vaults in the Subscriptions you add in the agent [Configuration][].  
* :fa-folder: **Category-based Monitoring** – :Nodinite: groups [Resources][] by [Categories][].  
* :fa-users-class: **Role-Based Access** – Share access to individual items using one or more [Monitor Views][].  

## :fa-traffic-light-go: State Evaluation for Key Vaults

:Nodinite: presents each monitored Key Vault as a [Resource][Resources]. For example, three Key Vaults appear as three separate **Resources** in :Nodinite:.

* :fa-lightbulb-on: The [Resource][Resources] name matches the deployed Key Vault name.  
* :fa-folder: Monitored Key Vaults belong to the 'Key Vault' [Category][Categories].  
* :fa-box-open: 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 :Nodinite: [Resource][Resources].

### :fa-file-certificate: Key Vault

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

|State|Status|Description|:fa-bolt: 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|:fa-edit: [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|:fa-edit: [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|:fa-circle-info: [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.

## :fa-shield-halved: Other Certificates and Secrets Nodinite Monitors

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

* :fa-user-lock: [Monitoring App Registration][] for the client secrets and certificates of your Azure App Registrations.  
* :fa-file-certificate: [Monitoring Certificate][] for the Azure Certificate resources in your Subscriptions.  
* :fa-clouds: [Azure API Management Certificate monitoring][Monitoring APIM Certificate] for certificates in API Management Services.  
* :fab fa-windows: [Windows Certificates][] for certificates in the Windows certificate stores.  
* :fa-globe: [Web Service Certificates][Web Service Agent - Monitor Certificates] for the HTTPS certificates of Web Applications, Web Services, and APIs.  

## :fa-history: 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="{ndm}/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="{ndm}/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/ResourceHistory.png" /><br/>*Alert history for the selected Key Vault item*|  

## :fa-question: Frequently asked questions

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

## :fa-hand-point-right: Next Steps

* :fa-wrench: [Manage Key Vaults][Azure Agent - Managing Key Vault]  
* :fa-edit: [Edit Key Vault thresholds][Azure Agent - Managing Key Vault - Edit]  
* :fa-gear: [Configure the Azure Monitoring Agent][Configuration]  

## :fa-link-horizontal: Related Topics

* :fa-cloud: [Azure Monitoring Agent][Azure Agent]  
* :fa-cloud: [Azure Logging and Monitoring Overview][]  
* :fa-clipboard-check: [Prerequisites][]  
* :fa-shield-check: [Firewall settings for the Azure agent][Firewall]  
* :fa-user-lock: [Monitoring App Registration][]  
* :fa-file-certificate: [Monitoring Certificate][]  
* :fa-lightbulb-on: [Resources][]  
* :fa-folder: [Categories][]  
* :fa-box-open: [Applications][]  
* :fa-bell: [Alarm Plugins][]  
* :fa-wrench: [Troubleshooting][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/ResourcesInMonitorView.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/Azure/KeyVault/AzureKeyVault_SecretExpiry.gif

[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Azure Agent]:{ndr}/Logging%20and%20Monitoring/Azure/Overview.md
[Azure Agent - Managing Key Vault]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Key%20Vault/Managing%20Key%20Vault.md
[Azure Agent - Managing Key Vault - Details]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Key%20Vault/Managing%20Key%20Vault.md#fa-circle-info-details
[Azure Agent - Managing Key Vault - Edit]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Key%20Vault/Managing%20Key%20Vault.md#fa-edit-edit-thresholds
[Azure Logging and Monitoring Overview]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Overview.md
[Azure REST API]:https://learn.microsoft.com/en-us/rest/api/azure/
[AzureApplicationsAccess]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Azure%20Application%20Access.md
[Categories]:{ndr}/Administration/2.%20Monitor%20Management/4.%20Categories/Features/What%20is%20a%20Category.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Azure/Getting%20started/3.%20Configuration.md
[Expected State]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/Expected%20State.md
[Firewall]:{ndr}/Logging%20and%20Monitoring/Azure/Getting%20started/1.%20Prerequisites.md#fa-shield-check-what-firewall-settings-are-required-for-the-azure-agent
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring APIM Certificate]:{ndr}/Logging%20and%20Monitoring/Azure/Features/API%20Management/Certificate/Monitoring%20Certificate.md
[Monitoring App Registration]:{ndr}/Logging%20and%20Monitoring/Azure/Features/App%20Registration/Monitoring%20App%20Registration.md
[Monitoring Certificate]:{ndr}/Logging%20and%20Monitoring/Azure/Features/Certificate/Monitoring%20Certificate.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Azure/Getting%20started/1.%20Prerequisites.md
[Prerequisites - Azure rights]:{ndr}/Logging%20and%20Monitoring/Azure/Getting%20started/1.%20Prerequisites.md#fa-cloud-what-azure-user-rights-and-services-does-the-azure-agent-require
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/Azure/Troubleshooting/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Web Service Agent - Monitor Certificates]:{ndr}/Logging%20and%20Monitoring/Web%20Services/Features/Monitoring%20Certificates.md
[Windows Certificates]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Certificates/Overview.md