---
title: Azure group has dangerous key vault role
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Azure group has dangerous key vault
  role
---

# Azure group has dangerous key vault role
 
## Description{% #description %}

This rule detects Azure AD groups with dangerous key vault roles. It specifically detects the assignment of Key Vault Administrator and Key Vault Contributor.

## Rationale{% #rationale %}

Assigning these key vault roles to Azure AD groups can unintentionally grant broad access to sensitive secrets, certificates, and encryption keys. Removing these assignments helps prevent privilege escalation, unauthorized access, and potential data breaches through misconfigured role assignments.

## Remediation{% #remediation %}

Review the group membership and assess whether the assigned roles are necessary. If access is not justified, remove the roles or assign more restrictive, least-privilege alternatives that align with the principle of minimum access.
