Automate AWS IAM, Azure RBAC, and GCP IAM access requests and cleanup
Stepwork grants cloud access from a chat request after approval, removes it when the time is up, and clears stale keys and leavers across AWS, Azure, and GCP.
- Use case
- Cloud access that is granted on request and removed on timeCloud & Infrastructure
- Best for
- Cloud platform, IT, and security engineering teams
- Applications used
AWS
Microsoft Azure
Google Cloud Platform
Slack
JiraWorkday
- Business outcome
- No standing admin access, stale keys, or leaver accounts
The problem
Cloud access is granted in a hurry and removed when someone remembers
- Assign a role by hand in the console for every access request
- Set a reminder to take temporary access away, then miss it
- Export IAM users and keys to find the ones nobody uses
- Chase key owners before deactivating anything
- Check root, break-glass, and admin roles for MFA each month
- Remove a leaver from every account, subscription, and project
Systems
Works in each cloud's own access console
Your identity provider decides who can sign in. Roles, keys, and assignments are still set account by account in each cloud console. Stepwork makes those changes there, from the request or the HR record that calls for them.
- Cloud consoles: AWS, Microsoft Azure, Google Cloud Platform
- Identity and HR: Okta, Microsoft Entra ID, Workday, BambooHR, Rippling
- Tickets and chat: Jira, ServiceNow, Slack, Microsoft Teams
Example procedures
Four cloud access procedures, card by card
One grants access for a set time and takes it away, one clears unused keys, one checks who holds admin, and one removes leavers from all three clouds.
Grant time-boxed AWS access from a Slack request and remove it on time
Slack
AWS
Jira
Step by step
- The request starts the runSomeone posts in the cloud access channel in Slack. The message gives the account, the role, and when the access should end.
- The rule checks the roleA role on your privileged list takes the approval path. A standard role goes straight to the grant.
- If privileged roleAsk the account owner to approve in Slack
- If standard roleAssign the role to the user in AWS
- The account owner approvesOn the privileged path only, Stepwork asks the account owner in Slack and waits for the answer before anything changes.Only on this path: If privileged role
- The role is assignedBoth paths meet here. The recorded flow signs in to AWS, opens the account, and assigns the role to the user, the same clicks an admin would make.
- The run waits for the end timeThe Wait card holds the run until the date and time the request gave. Nobody has to set a reminder.
- The role is removedWhen the time is up, the recorded flow removes the assignment in AWS, reloads the page, and saves a timestamped screenshot showing it is gone.
- Both changes are loggedStepwork writes the grant time, the removal time, and the screenshot to a ticket in Jira, so the access has a start, an end, and proof.
Field map
| From | To |
|---|---|
Deactivate AWS access keys nobody has used in 90 days
AWS
Slack
Step by step
- Every key is readStepwork signs in to AWS and reads each access key or service account key, who owns it, and how many days it has gone unused.
- The rule finds the idle onesA key unused for 90 days or more takes the top path. A key still in use is left alone.
- If unused 90+ daysAsk the key's owner to approve in Slack
- If still in usePost the month's key cleanup in Slack
Repeats: For each access key · 64 keys - The owner is asked firstOnly for an idle key: Stepwork asks the owner in Slack and waits. If the owner says the key is still needed, the run stops for that key and keeps the reply.Only on this path: If unused 90+ daysRepeats: For each access key · 64 keys
- The key is deactivatedOnce the owner approves, the recorded flow deactivates the key in AWS. It is switched off, not deleted, so it can be turned back on.Only on this path: If unused 90+ daysRepeats: For each access key · 64 keys
- Security gets the month's resultThe Summary card lists the keys that were deactivated and the ones still waiting on an owner, and posts it in Slack.
Field map
| From | To |
|---|---|
Check root, break-glass, and admin access in AWS every week
AWS
JiraSlack
Step by step
- The approved list is readStepwork reads the list your team keeps of who is allowed admin access, including the break-glass accounts.
- The console shows who has itStepwork signs in to AWS and reads every privileged role assignment and each account's MFA status.
- The rule compares the twoAn admin who is not on the list, or who has no MFA, takes the top path. An approved admin with MFA needs nothing.
- If unapproved or no MFAOpen a ticket for the account owner in Jira
- If approved with MFAPost the weekly privileged access report in Slack
Repeats: For each privileged assignment · 23 assignments - Each exception gets a ticketOnly for an exception: Stepwork opens a ticket in Jira for the account owner with the person, the role, and what is wrong.Only on this path: If unapproved or no MFARepeats: For each privileged assignment · 23 assignments
- Security gets the weekly reportThe Summary card reports how many privileged assignments were checked and which ones opened a ticket.
Field map
| From | To |
|---|---|
Remove a leaver from AWS, Azure, and GCP when Workday records the exit
Workday
AWS
Microsoft Azure
Google Cloud Platform
Slack
Step by step
- The termination comes inHR records the exit in Workday the way it always does. The run starts when it takes effect, so nobody on the platform team has to notice it first.
- AWS access is removedInside the first frame, Stepwork works through each AWS account: it deactivates the leaver's IAM user, removes their Identity Center assignments, and notes any access keys they owned.Repeats: For each AWS account · 14 accounts
- Azure access is removedInside the second frame, the recorded flow opens each subscription and removes the role assignments made to the leaver.Repeats: For each subscription · 6 subscriptions
- GCP access is removedInside the third frame, the recorded flow opens each project and removes the leaver from its IAM members.Repeats: For each project · 20 projects
- The rule checks for keysIf the leaver owned access keys, the run takes the top path. If they owned none, it goes straight to the record.
- If they owned keysAsk the manager who takes over the keys in Slack
- If they owned nonePost the cloud offboarding record in Slack
- The manager decides on the keysOnly when keys were found: Stepwork lists them for the manager in Slack and asks who takes them over, so a service doesn't break when they are rotated.Only on this path: If they owned keys
- The record goes to the channelStepwork posts what was removed in each cloud, with the time and a screenshot of each console afterwards, in Slack.
Field map
| From | To |
|---|---|
Flows
The flows behind these procedures
Each flow is one recorded read or change in one cloud console. Procedures run them in order, and any of them can also run by itself from a request in Slack or Teams.
- Google Cloud Platform
Grant project IAM role to user
Opens the target GCP project's IAM page and grants the specified role to a user. - AWS
Deactivate access keys unused 90+ days
Works from the credential report and deactivates access keys unused for 90 or more days. - AWS
Deactivate access keys for user
Locates a user's active access keys in IAM and deactivates them, cutting programmatic access. - Google Cloud Platform
Extract service account keys aging report
Extracts service account keys older than 90 days with their accounts and projects. - AWS
Extract IAM MFA status report
Extracts root account and IAM user MFA status from the credential report. - Microsoft Azure
Extract PIM privileged assignments
Extracts privileged role assignments including eligible and permanent ones from PIM. - AWS
Extract Identity Center account assignments
Extracts users and groups assigned to each AWS account and permission set from IAM Identity Center. - Microsoft Azure
Extract role assignments per subscription
Extracts role assignments for each Azure subscription into a consolidated access table. - AWS
Deactivate IAM user
Disables console access and deactivates credentials for an IAM user in the AWS console. - AWS
Remove user from Identity Center
Removes a user's IAM Identity Center assignments and disables their access across AWS accounts. - Microsoft Azure
Remove user role assignments
Finds a user's role assignments across Azure subscriptions and removes each one. - Google Cloud Platform
Remove user from project IAM bindings
Finds all IAM bindings for a user in specified GCP projects and removes each one. - Microsoft Azure
Assign a role to a user
Opens the subscription's access control page, assigns the role to the user, and confirms it shows in the role assignments list. - AWS
Assign a permission set
Opens IAM Identity Center, assigns the user to the account with the permission set asked for, and confirms the assignment. - Google Cloud Platform
Remove a role and capture proof
Opens the project's IAM page, removes the user's role, reloads the page, and saves it as a timestamped screenshot.
More procedures
More cloud access procedures
Ready-made procedures in the Marketplace for IAM hygiene, credential cleanup, and access review evidence.
- AWS · Google Cloud Platform · Slack
Monthly cloud IAM hygiene
Extracts IAM users with last activity from AWS and stale project bindings from GCP, deactivates unused access keys, and removes confirmed-stale bindings after owner sign-off in Slack. 2 more
AWS · Google Cloud Platform · Okta + 2 moreMonthly credential hygiene sweep
Monthly, extracts AWS access keys unused 90+ days, aging GCP service account keys, the Okta API token inventory, and Datadog keys, deactivates or revokes stale credentials after owner confirmation, and logs the sweep.2 more
Okta · AWS · GitHub + 2 moreQuarterly access review evidence pack
Kicks off the quarter's access review by extracting Okta admin roles, AWS IAM MFA status, and GitHub membership, checking Vanta campaign status, and uploading the compiled evidence to close the review's document requests.
Why Stepwork
The removal runs as reliably as the grant
Stepwork is a deterministic agent platform: the grant and the removal are the same recorded steps every time, so temporary access ends when the request said it would. Each run keeps who asked, who approved, what changed, and a screenshot of the console afterwards. Credentials stay in your vault, and privileged changes wait for an approval in chat.
FAQ
Common questions
The math
What managing cloud access by hand costs
Example volumes for a platform team with 14 AWS accounts, 6 Azure subscriptions, and 20 GCP projects. Swap in yours.
| The manual task | Times a week | Minutes each | Hours a week |
|---|---|---|---|
| Assign a cloud role from a request, then remove it later | 15 | 12 | 3 |
| Review an unused access key and chase its owner | 10 | 8 | 1.3 |
| Check admin roles and MFA across every account | 1 | 60 | 1 |
| Remove a leaver from every account and project | 2 | 30 | 1 |
- Hours a week
- 6.3
- Hours a year
- 317
- Of one full-time person
- 16%
