Introduction

We use Azure key vault to store confidential secrets. All secrets which are stored in the Azure key vault have an expiry date. If we don't monitor the expiry date proactively then there are possibilities that secrets can expire and you can no longer use these secrets.

It would be great to have an automated solution in place which can notify about the expiry of key vault secrets.

Monitoring Alerts for expired key vault secrets

The issue with expired secrets

Technical Solution

Github link for power shell.

Summary