Templates / IAM compliance automation: enforce MFA and clean up access keys in AWS

IAM compliance automation: enforce MFA and clean up access keys in AWS

Ready for 3.0

by Trung Tran ✓ · 453 views · created 2025-08-19 · SecOps, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs on a schedule (every day). Along the way it connects AWS IAM and Slack.

How it runs

Trigger: On a schedule (every day).

  1. Get many users (AWS IAM): uses AWS IAM
  2. Get IAM User MFA Devices (HTTP Request): calls an HTTP API
  3. Filter: keeps only the items that match a condition
  4. Send warning message(s) (Slack): uses Slack
  5. Get User Access Key(s) (HTTP Request): calls an HTTP API
  6. Parse the list of user access key(s) (Code): runs custom JavaScript code
  7. Filter: keeps only the items that match a condition
  8. Send message and wait for response (Slack): send and wait for a reply
  9. Deactivate Access Key(s) (HTTP Request): calls an HTTP API

Services it uses

AWS IAMSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Automated AWS IAM Compliance Workflow for MFA Enforcement and Access Key Deactivation > This workflow leverages AWS IAM APIs and n8n automation to ensure strict security compliance by continuously monitoring IAM users for MFA (Multi-Factor Authentication)…

Excerpt from Trung Tran's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.