๐Ÿ”’ Send Slack alerts for AWS IAM access keys older than 365 days

โšก 226 views ยท ๐Ÿ”’ SecOps & Security Automation

Description

AWS IAM Access Key Rotation Reminder Automation Workflow

Watch the demo video below:

Watch the video

Whoโ€™s it for

How it works / What it does

  1. Weekly Scheduler โ€” triggers the workflow on a recurring basis.
  2. Get Many Users โ€” fetches all IAM users in the AWS account.
  3. Get User Access Key(s) โ€” retrieves the access keys associated with each user.
  4. Filter Out Inactive Keys โ€” removes keys that are not active (e.g., status Inactive).
  5. Access Key Older Than 365 Days โ€” checks the key creation date and flags keys older than one year.
  6. Send Slack Message โ€” notifies a Slack channel with details of the outdated key(s) for review and action.
  7. No Operation โ€” safely ends the workflow if no keys match the condition.

How to set up

Requirements

How to customize the workflow

๐Ÿ”— Nodes Used

HTTP Request, Slack, Schedule Trigger, Filter, AWS IAM

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup