---
title: MFA should be enabled for all users with console access
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > MFA should be enabled for all users
  with console access
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# MFA should be enabled for all users with console access
 
## Description{% #description %}

AWS IAM users with a console password should have an active multi-factor authentication (MFA) device, such as a virtual MFA device, U2F security key, or hardware MFA device. This rule uses the IAM credential report and fails any user where `password_enabled` is true and `mfa_active` is not true; users without a console password are skipped. Users without a matching collected credential report are also skipped, so a skipped result does not establish that the user has no console password. Without MFA, IAM users with console access are more susceptible to credential compromise and unauthorized access to AWS resources.

## Remediation{% #remediation %}

1. In the IAM console, select **Users**, choose the user, open the **Security credentials** tab, and under **Multi-factor authentication (MFA)** select **Assign MFA device**.
1. Select a virtual MFA device (or a hardware MFA device or security key, as applicable), configure it by scanning the QR code or entering the secret key, enter two consecutive authentication codes, and select **Assign MFA**. See the [AWS documentation on enabling MFA devices](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html) for details.

## References{% #references %}

- [Enabling a virtual MFA device for an IAM user](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html)
- [Getting credential reports for your AWS account](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html)
- [CIS Amazon Web Services Benchmarks](https://www.cisecurity.org/benchmark/amazon_web_services)
