How can I set up email alerts for key access in Azure?

0
12
Asked By CuriousCat88 On

I want to ensure that I get notified via email whenever someone accesses or views keys within my Azure subscription. A small group of people has access to my Azure environment through the portal. My subscription mainly involves Azure Cognitive Resources, and each of these resources has two keys. How can I configure this alert system?

5 Answers

Answered By CloudGuru91 On

I’m not sure you can directly alert for key accesses. One workaround is to assign the key reader role through Privileged Identity Management (PIM) and then set up notifications for when the PIM group is activated. You can find directions for this with a quick search.

Answered By LogicAppMaster On

Check if the activity you're concerned about generates a specific event. If it does, you could create a Logic App triggered by this event to send you notifications.

Answered By EncryptedAccess On

You should definitely rethink who has access to your key vault. Anyone having permanent reading rights is a huge security risk. Setting up PIM roles that require authorization for reader roles can help avoid this.

Answered By TechWizard42 On

You can send the Azure activity logs to a Log Analytics Workspace (LAW) and set up alert rules there to notify you via email when certain actions occur.

Answered By SafetyFirst2023 On

Consider setting up email alerts for activity logs. I’ve done this in one of my tenants, and it works well to alert me whenever anyone accesses specified resources.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.