AWS IAM Compliance: Enforce MFA & Clean Up Access Keys

Automates daily AWS IAM checks to enforce MFA on users, send Slack warnings for non-compliant users, and deactivate their active access keys for security compliance.

n8n
AWS IAM Compliance: Enforce MFA & Clean Up Access Keys

This workflow automates AWS IAM security compliance by running daily scans to identify users without Multi-Factor Authentication (MFA) devices. It retrieves all IAM users, checks their MFA status via AWS APIs, filters out those without MFA, sends Slack notifications to alert admins, fetches active access keys for non-compliant users, and deactivates them to prevent unauthorized access.

Key benefits include reduced manual oversight, proactive risk mitigation, and ensured adherence to security best practices like least privilege and MFA enforcement. It saves hours of weekly compliance audits, minimizes breach risks from dormant or unused keys, and provides audit-ready logs through n8n executions.

Ideal for DevOps, security engineers, and cloud teams managing AWS environments. Use cases: Multi-account setups needing centralized compliance, post-onboarding user hygiene, or regulatory requirements like SOC2/ISO27001. Easily customizable for additional notifications or integrations like email/Jira.

$22.99
Last updated October 10, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Personal workflows

More from Bryce Yu

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.